PHP 4.0 Bug #3667 Updated: odbc_execute() reports failure for SQL_SUCCESS_WITH_INFO

From: Date: Tue, 29 Feb 2000 16:46:26 +0000
Subject: PHP 4.0 Bug #3667 Updated: odbc_execute() reports failure for SQL_SUCCESS_WITH_INFO
Groups: php.dev 
Request: Send a blank email to php-dev+get-16146@lists.php.net to get a copy of this message
ID: 3667 Updated by: kara Reported By: moregan@mcs.net Status: Closed Bug Type: ODBC related Assigned To: Comments: odbc_do/odbc_exec will return 0 for your statement, since there are no columns returned by your statement. The same applies for update, insert, delete statements. odbc_execute() will indeed additionally error out since it is not considering SQL_SUCCESS_WITH_INFO as success. I don't think that the specs forbid SQL_SUCCESS_WITH_INFO. To be consistent, odbc_execute should also allow SQL_SUCCESS_WITH_INFO, as odbc_exec does. Full Bug description available at: http://bugs.php.net/?id=3667

« previous php.dev (#16146) next »