[PHP-DEV] PHP 4.0 Bug #3667 Updated: odbc_execute() reports failure for SQL_SUCCESS_WITH_INFO From: Bug Database (php-dev <email protected>)
Date: 02/29/00

ID: 3667
Updated by: kara
Reported By: moregan <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>