php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29118 the SQL-State +100 not shown
Submitted: 2004-07-13 15:34 UTC Modified: 2005-02-13 01:00 UTC
From: extern dot statz dot brakebusch at volkswagen dot de Assigned:
Status: No Feedback Package: ODBC related
PHP Version: 4.3.7 OS: Red Hat 9
Private report: No CVE-ID: None
 [2004-07-13 15:34 UTC] extern dot statz dot brakebusch at volkswagen dot de
Description:
------------
When we update a dataset with a "where"-condition and there was no result found, the odbc_exec returns true and no warning. The odbc_error and odbc_errormsg contain not this SQL-state +100.

When we update with odbc_prepare we got only a warning message, we cant catch with odbc_error, odbc_errormsg or php_errormsg. Our productive server works only without warnings.

We need the SQL-state-answer from the database.
We work with IBM DB2.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-13 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 16:01:30 2024 UTC