Remove deprecated reconnect setting for mysql

openbsd
Isaac Connor 2023-09-12 15:10:34 -04:00
parent e353523073
commit 22d911940f
1 changed files with 0 additions and 4 deletions

View File

@ -42,10 +42,6 @@ bool zmDbConnect() {
return false;
}
bool reconnect = 1;
if ( mysql_options(&dbconn, MYSQL_OPT_RECONNECT, &reconnect) )
Error("Can't set database auto reconnect option: %s", mysql_error(&dbconn));
if ( !staticConfig.DB_SSL_CA_CERT.empty() ) {
mysql_ssl_set(&dbconn,
staticConfig.DB_SSL_CLIENT_KEY.c_str(),