mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: fix the problem for connect_attr, set db condition, and add a new attribute _server_host
This commit is contained in:
commit
a18f53ec2c
6 changed files with 152 additions and 2 deletions
|
@ -420,6 +420,9 @@ mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn,
|
|||
auth_packet.auth_data_len = auth_plugin_data_len;
|
||||
auth_packet.auth_plugin_name = auth_protocol;
|
||||
|
||||
if (conn->server_capabilities & CLIENT_CONNECT_ATTRS) {
|
||||
auth_packet.connect_attr = conn->options->connect_attr;
|
||||
}
|
||||
|
||||
if (conn->m->get_server_version(conn) >= 50123) {
|
||||
auth_packet.charset_no = conn->charset->nr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue