mirror of https://github.com/BOINC/boinc.git
Change my_bool to bool - see https://bugs.mysql.com/bug.php?id=85131
This commit is contained in:
parent
1112a3483d
commit
86cb25c12d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue