Skip to content

Commit

Permalink
Fix parameter type for parameter reconnect in mysql_optionsv from uin…
Browse files Browse the repository at this point in the history
…t to my_bool
  • Loading branch information
9EOR9 committed Mar 22, 2017
1 parent 30614c7 commit 633109c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmariadb/libmariadb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3043,7 +3043,7 @@ mysql_optionsv(MYSQL *mysql,enum mysql_option option, ...)
mysql->options.charset_name=my_strdup((char *)arg1,MYF(MY_WME));
break;
case MYSQL_OPT_RECONNECT:
mysql->reconnect= *(uint *)arg1;
mysql->reconnect= *(my_bool *)arg1;
break;
case MYSQL_OPT_PROTOCOL:
#ifdef _WIN32
Expand Down

0 comments on commit 633109c

Please sign in to comment.