#34687 [Opn->Asn]: PDO->query provides no way to get error message

From: Date: Fri, 30 Sep 2005 14:10:06 +0000
Subject: #34687 [Opn->Asn]: PDO->query provides no way to get error message
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85812@lists.php.net to get a copy of this message
 ID:               34687
 Updated by:       sniper@php.net
 Reported By:      aidan@php.net
-Status:           Open
+Status:           Assigned
 Bug Type:         PDO related
 Operating System: Linux
-PHP Version:      6CVS-2005-09-30 (CVS)
+PHP Version:      5CVS-2005-09-30 (CVS)
-Assigned To:      
+Assigned To:      wez


Previous Comments:
------------------------------------------------------------------------

[2005-09-30 12:55:29] aidan@php.net

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.

------------------------------------------------------------------------

[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)

« previous php.bugs (#85812) next »