Skip to content

Commit 6a6ec19

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
2 parents 625000a + 12e759c commit 6a6ec19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/mysqlnd/mysqlnd.c

+2
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,8 @@ MYSQLND_METHOD(mysqlnd_conn_data, connect)(MYSQLND_CONN_DATA * conn,
774774
/* we allow load data local infile by default */
775775
mysql_flags |= MYSQLND_CAPABILITIES;
776776

777+
mysql_flags |= conn->options.flags; /* use the flags from set_client_option() */
778+
777779
if (db) {
778780
mysql_flags |= CLIENT_CONNECT_WITH_DB;
779781
}

0 commit comments

Comments
 (0)