#47722 [Opn->Fbk]: PDO crashes Apache whenever 'show columns' query is executed
| From: | felipe@php.net | Date: | Thu, 19 Mar 2009 23:43:26 +0000 |
| Subject: | #47722 [Opn->Fbk]: PDO crashes Apache whenever 'show columns' query is executed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134908@lists.php.net to get a copy of this message | ||
ID: 47722
Updated by: felipe@php.net
Reported By: cpavlov at ru dot acad dot bg
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Windows
PHP Version: 5.2.9
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2009-03-19 17:24:29] cpavlov at ru dot acad dot bg
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 this bug report at http://bugs.php.net/?id=47722&edit=1