This commit is contained in:
James Molson 2019-06-04 18:23:12 +02:00 committed by Laurence
parent 1112a3483d
commit 86cb25c12d
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ int DB_CONN::open(
}
if (set_opt_before) {
my_bool mbReconnect = 1;
bool mbReconnect = 1;
mysql_options(mysql, MYSQL_OPT_RECONNECT, &mbReconnect);
}
@ -91,7 +91,7 @@ int DB_CONN::open(
if (mysql == 0) return ERR_DB_CANT_CONNECT;
if (set_opt_after) {
my_bool mbReconnect = 1;
bool mbReconnect = 1;
mysql_options(mysql, MYSQL_OPT_RECONNECT, &mbReconnect);
}
return 0;