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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jcelle at alternis dot fr
New email:
PHP Version: OS:

 

 [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: Fri Apr 26 09:01:29 2024 UTC