diff options
| author | Andrey Hristov <andrey@php.net> | 2008-06-24 11:01:38 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2008-06-24 11:01:38 +0000 |
| commit | e0f45cf7ae05e7d74808623607dda65ff7dd5614 (patch) | |
| tree | 3995f79a760aa357488722c27125fb90165b4d41 /ext/mysql | |
| parent | 048736a907e3b6808786e1906235d80a2411ab15 (diff) | |
| download | php-git-e0f45cf7ae05e7d74808623607dda65ff7dd5614.tar.gz | |
Fix possible bug with persistent connections and mysqlnd
Diffstat (limited to 'ext/mysql')
| -rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 140d945003..0e5319cb21 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -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 } } |
