|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-20 11:26 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 12:00:01 2025 UTC |
Description: ------------ I upgraded php from 4.3.8 to 4.3.10 and then I noticed that the mssql_query() function returned FALSE in queries that perform a write in the database (or stored procedures that perform a write), even though the queries were executed and the changes were written in the tables. I re-installed 4.3.8 again and I restored the expected behaviour of mssql_query(). In SELECT queries nothing strange happened, I got a result handle as expected. Reproduce code: --------------- $mssql = mssql_connect( "dbhost", "dbuser", "dbpass" ); mssql_select_db ("dbname" ); $res = mssql_query( "***a valid INSERT/UPDATE query***" ); if ($res === false) { echo "mssql_query returned false.\n"; } else { echo "mssql_query returned true.\n"; } Expected result: ---------------- If the query is correct, I would expect that true was returned. Actual result: -------------- Even though the query is correct I get the false message...