mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix possible bug with persistent connections and mysqlnd
This commit is contained in:
parent
048736a907
commit
e0f45cf7ae
4 changed files with 22 additions and 9 deletions
|
@ -791,7 +791,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
|||
}
|
||||
} else {
|
||||
#ifdef MYSQL_USE_MYSQLND
|
||||
mysqlnd_restart_psession(mysql->conn);
|
||||
mysqlnd_restart_psession(mysql->conn, MySG(mysqlnd_thd_zval_cache));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue