1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

CONC-297: Fixed regression bug (which happend due to a bad merge)

This commit is contained in:
Georg Richter
2018-07-27 07:32:08 +02:00
parent 1788e000d2
commit d2ee129f8c

View File

@@ -2661,7 +2661,7 @@ mysql_optionsv(MYSQL *mysql,enum mysql_option option, ...)
mysql->options.named_pipe=1; /* Force named pipe */
break;
case MYSQL_OPT_LOCAL_INFILE: /* Allow LOAD DATA LOCAL ?*/
if (!arg1 || test(*(my_bool*) arg1))
if (!arg1 || test(*(unsigned int*) arg1))
mysql->options.client_flag|= CLIENT_LOCAL_FILES;
else
mysql->options.client_flag&= ~CLIENT_LOCAL_FILES;