|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8494 lack of compatibility
Submitted: 2000-12-30 13:38 UTC Modified: 2001-01-04 12:29 UTC
From: jcelle at alternis dot fr Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.4 OS: windows nt4 station and server
Private report: No CVE-ID: None
 [2000-12-30 13:38 UTC] jcelle at alternis dot fr
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.;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 12:29 UTC]
This is fixed in cvs.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 04:01:31 2024 UTC