ID: 35637
User updated by: realbenzin at inbox dot lv
Reported By: realbenzin at inbox dot lv
-Status: Feedback
+Status: Open
Bug Type: MySQLi related
Operating System: Win XP SP2
PHP Version: 5.1.1
New Comment:
5.0.15
Previous Comments:
------------------------------------------------------------------------
[2005-12-11 23:12:55] [EMAIL PROTECTED]
What mysql version are you connecting to?
------------------------------------------------------------------------
[2005-12-11 22:49:42] realbenzin at inbox dot lv
Description:
------------
When mysql stored procedures are called twice in a row I get mysqli
error "Lost connection to MySQL server during query", it does not
happen if I do it once or in row with simple sql statements... Mysql is
ok, and no free_result is helping...
Reproduce code:
---------------
$db = new mysqli('localhost','root','qwerty','VT_SYS');
$u = $db->query("call spRazList(NULL);");
$u = $db->query("call spRazList(NULL);") or die('asdasdad'.$db->error);
Expected result:
----------------
That stored procedure would execute twice with no errors.
Actual result:
--------------
Mysqli error "Lost connection to MySQL server during query"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35637&edit=1