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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 12:29 UTC] fmk@php.net
This is fixed in cvs.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 21:01:32 2025 UTC