php.net |  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
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.;



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 12:29 UTC] fmk@php.net
This is fixed in cvs.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC