Remove deprecated reconnect setting for mysql
parent
e353523073
commit
22d911940f
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue