Skip to content
forked from BOINC/boinc

Commit

Permalink
Change my_bool to bool - see https://bugs.mysql.com/bug.php?id=85131
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMolson authored and lfield committed Jul 11, 2019
1 parent 1112a34 commit 86cb25c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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;
Expand Down

0 comments on commit 86cb25c

Please sign in to comment.