Skip to content

Commit 12e759c

Browse files
committed
Use during connect the flags set with set_client_option()
1 parent d4650c5 commit 12e759c

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
@@ -691,6 +691,8 @@ MYSQLND_METHOD(mysqlnd_conn, connect)(MYSQLND * conn,
691691
mysql_flags |= CLIENT_LOCAL_FILES | CLIENT_PS_MULTI_RESULTS;
692692
mysql_flags |= MYSQLND_CAPABILITIES;
693693

694+
mysql_flags |= conn->options.flags; /* use the flags from set_client_option() */
695+
694696
if (db) {
695697
mysql_flags |= CLIENT_CONNECT_WITH_DB;
696698
}

0 commit comments

Comments
 (0)