Fix possible bug with persistent connections

This commit is contained in:
Andrey Hristov 2008-06-24 11:19:07 +00:00
parent 0a7198a297
commit fd699ce7d3
4 changed files with 22 additions and 9 deletions

View file

@ -813,7 +813,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
}
}