#34687 [Fbk->Opn]: PDO->query provides no way to get error message
ID: 34687
Updated by: aidan@php.net
Reported By: aidan@php.net
-Status: Feedback
+Status: Open
Bug Type: PDO related
Operating System: Linux
PHP Version: 6CVS-2005-09-30 (CVS)
New Comment:
I'm not sure what version introduced this problem sniper, the box I had
the problem on ran HEAD.
Checking the problem on another box, and yes, the problem is present in
PHP 5.1.
Previous Comments:
------------------------------------------------------------------------
[2005-09-30 11:00:13] sniper@php.net
This only happens in HEAD? (if it happens with PHP 5.1CVS, please put
that as first in the 'Version' field)
------------------------------------------------------------------------
[2005-09-30 10:21:24] aidan@php.net
Description:
------------
PDO->query() will return false (for example, on a simple update), but
there is no error message generated that can be read via
errorCode()/errorInfo().
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34687&edit=1
Thread (5 messages)