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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
14 - 11 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Mar 28 11:01:27 2024 UTC