#29118 [NEW]: the SQL-State +100 not shown
| From: | extern dot statz dot brakebusch at volkswagen dot de | Date: | Tue, 13 Jul 2004 13:34:36 +0000 |
| Subject: | #29118 [NEW]: the SQL-State +100 not shown | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-62138@lists.php.net to get a copy of this message | ||
From: extern dot statz dot brakebusch at volkswagen dot de
Operating system: Red Hat 9
PHP version: 4.3.7
PHP Bug Type: ODBC related
Bug description: the SQL-State +100 not shown
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.
--
Edit bug report at http://bugs.php.net/?id=29118&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29118&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29118&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29118&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29118&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29118&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29118&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29118&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29118&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29118&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29118&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29118&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29118&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29118&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29118&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29118&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29118&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29118&r=float