PHP 4.0 Bug #8494: lack of compatibility
| From: | jcelle at alternis dot fr | Date: | Sat, 30 Dec 2000 18:38:25 +0000 |
| Subject: | PHP 4.0 Bug #8494: lack of compatibility | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42678@lists.php.net to get a copy of this message | ||
From: jcelle@alternis.fr
Operating system: windows nt4 station and server
PHP version: 4.0.4
PHP Bug Type: MSSQL related
Bug description: lack of compatibility
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.;
--
Edit Bug report at: http://bugs.php.net/?id=8494&edit=1