Fix possible bug with persistent connections and mysqlnd

This commit is contained in:
Andrey Hristov 2008-06-24 11:01:38 +00:00
parent 048736a907
commit e0f45cf7ae
4 changed files with 22 additions and 9 deletions

View file

@ -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
}
}