use bool instead of my_bool to fix #2886

This commit is contained in:
Isaac Connor committed 2020-03-24 15:30:52 -04:00
1 parent 0ecd35e1c6
commit adf953dcdd
1 file changed
+1 -1
+1 -1
View File
@@ -40,7 +40,7 @@ bool zmDbConnect() {
Error("Can't initialise database connection: %s", mysql_error(&dbconn));
return false;
}
my_bool reconnect = 1;
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() )