#34687 [NEW]: PDO->query provides no way to get error message
| From: | aidan@php.net | Date: | Fri, 30 Sep 2005 08:21:24 +0000 |
| Subject: | #34687 [NEW]: PDO->query provides no way to get error message | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-85794@lists.php.net to get a copy of this message | ||
From: aidan@php.net
Operating system: Linux
PHP version: 6CVS-2005-09-30 (CVS)
PHP Bug Type: PDO related
Bug description: PDO->query provides no way to get error message
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 bug report at http://bugs.php.net/?id=34687&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34687&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34687&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34687&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34687&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34687&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34687&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34687&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34687&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34687&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34687&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34687&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34687&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34687&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34687&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34687&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34687&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34687&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34687&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34687&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34687&r=mysqlcfg