[PHP-DEV] PHP 4.0 Bug #8494 Updated: lack of compatibility From: fmk <email protected>
Date: 01/04/01

ID: 8494
Updated by: fmk
Reported By: jcelle <email protected>
Old-Status: Open
Status: Closed
Bug Type: MSSQL related
Assigned To:
Comments:

This is fixed in cvs.

Previous Comments:
---------------------------------------------------------------------------

[2000-12-30 13:38:25] jcelle <email protected>
Hello,
There seem to be a change in the mssql_query() behavior.
There is no return value if you call this function passing a query that does not return rows (select queries).

Any call to mssql_query() with an "update" or "delete" sql query returns a blank value, making it impossible to test if the call succeded.

I have tried to set to 'on' the mssql.compatability_mode in php.ini but this doesn't change the behavior i have mentionned above.

This is also annoying for all the existing code that rely on the mssql_query() return value to check if a query succeeded.;

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8494

-- 
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>