php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34687 PDO->query provides no way to get error message
Submitted: 2005-09-30 10:21 UTC Modified: 2005-10-03 00:11 UTC
From: aidan@php.net Assigned: wez (profile)
Status: Closed Package: PDO related
PHP Version: 5CVS, 6CVS (2005-09-30) (CVS) OS: *
Private report: No CVE-ID: None
 [2005-09-30 10:21 UTC] 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().


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-03 00:11 UTC] wez@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC