From: raphithom at gmx dot ch Operating system: FreeBSD 6.3-RELEASE-p5 PHP version: 5.2.8 PHP Bug Type: MySQLi related Bug description: Prepared-Statement fails when MySQL-Server under load
Description: ------------ Hello As backup-procedure we use 4 concurrent mysql-dump processes. When these processes are running, MySQLi-Prepared-Statements can't be executed and the following error appears: Errno: 1615 Message: Prepared statement needs to be re-prepared In my opinion it doesn't seem to be a mysql-problem because prepared-statements with PDO and "normal" mysql_query() or mysqli->query() work as expected. The error doesn't occur if no mysqldumps are running. Reproduce code: --------------- http://tmp.raphis.ch/mysqli_problem.phps Expected result: ---------------- All queries should return the same texts. Actual result: -------------- mysqli-select, mysql_select and PDO work as expected. mysqli-prepared statements exits with: Errno: 1615 Message: Prepared statement needs to be re-prepared -- Edit bug report at http://bugs.php.net/?id=47034&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47034&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47034&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47034&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47034&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47034&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47034&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47034&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47034&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47034&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47034&r=support Expected behavior: http://bugs.php.net/fix.php?id=47034&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47034&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47034&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47034&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47034&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47034&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47034&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47034&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47034&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47034&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47034&r=mysqlcfg