mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Use during connect the flags set with set_client_option()
This commit is contained in:
@@ -691,6 +691,8 @@ MYSQLND_METHOD(mysqlnd_conn, connect)(MYSQLND * conn,
|
||||
mysql_flags |= CLIENT_LOCAL_FILES | CLIENT_PS_MULTI_RESULTS;
|
||||
mysql_flags |= MYSQLND_CAPABILITIES;
|
||||
|
||||
mysql_flags |= conn->options.flags; /* use the flags from set_client_option() */
|
||||
|
||||
if (db) {
|
||||
mysql_flags |= CLIENT_CONNECT_WITH_DB;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user