From:             mrethers at ebcubes dot com
Operating system: Windows XP SP2
PHP version:      5.1.1
PHP Bug Type:     PDO related
Bug description:  ODBC/DB2 driver crashes Apache on bad request

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 bug report at http://bugs.php.net/?id=35592&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35592&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35592&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35592&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35592&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35592&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35592&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35592&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35592&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35592&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35592&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35592&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35592&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35592&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35592&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35592&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35592&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35592&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35592&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35592&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35592&r=mysqlcfg

Reply via email to