From: cpavlov at ru dot acad dot bg Operating system: Windows PHP version: 5.2.9 PHP Bug Type: PDO related Bug description: PDO crashes Apache whenever 'show columns' query is executed
Description: ------------ If you are using PDO and you try to execute "show columns from `table`" query on Windows, PHP crashes violently and Apache service is shutted down automatically. All other queries work well. The bug is reproducible only on some versions of Windows - in this case - Windwos Server 2003. Reproduce code: --------------- <?php $connection = new PDO('mysql:host=localhost;dbname=dbName', 'theUser', 'thePassword'); $query="SHOW COLUMNS FROM `someTable`"; $result = $connection->query($query); var_dump($result); ?> Expected result: ---------------- Apache crashes - the service is stopped because of too many errors. -- Edit bug report at http://bugs.php.net/?id=47722&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47722&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47722&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47722&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47722&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47722&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47722&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47722&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47722&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47722&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47722&r=support Expected behavior: http://bugs.php.net/fix.php?id=47722&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47722&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47722&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47722&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47722&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47722&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47722&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47722&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47722&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47722&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47722&r=mysqlcfg