#29118 [Opn->Fbk]: the SQL-State +100 not shown

From: Date: Thu, 03 Feb 2005 04:02:12 +0000
Subject: #29118 [Opn->Fbk]: the SQL-State +100 not shown
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73342@lists.php.net to get a copy of this message
ID: 29118 Updated by: sniper@php.net Reported By: extern dot statz dot brakebusch at volkswagen dot de -Status: Open +Status: Feedback Bug Type: ODBC related Operating System: Red Hat 9 PHP Version: 4.3.7 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-07-13 15:34:34] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29118&edit=1

« previous php.bugs (#73342) next »