#35592 [Opn->Fbk]: ODBC/DB2 driver crashes Apache on bad request
ID: 35592
Updated by: tony2001@php.net
Reported By: mrethers at ebcubes dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Windows XP SP2
PHP Version: 5.1.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-12-08 00:05:28] mrethers at ebcubes dot com
Description:
------------
I'm using a db2 database with pdo:odbc and some bad queries would crash
Apache. It's a major problem for debugging as I have to verify all the
requests with a SQL command line tool.
Reproduce code:
---------------
SELECT * FROM TableA, TableB;
>> where TableA and TableB are in schema SCHEMA_1
The acutal query should be:
SELECT * FROM SCHEMA_1.TableA, SCHEMA_2.TableB;
Expected result:
----------------
SQL Exception from error thrown by the database
Actual result:
--------------
Apache crashes
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35592&edit=1
Thread (10 messages)