#31487 [Opn->Bgs]: Reference: http://bugs.php.net/bug.php?id=31195
ID: 31487
User updated by: matt at atopia dot net
Reported By: matt at atopia dot net
-Status: Open
+Status: Bogus
Bug Type: MSSQL related
Operating System: FreeBSD 4.10
PHP Version: 4.3.10
New Comment:
Bogus on my part.
Previous Comments:
------------------------------------------------------------------------
[2005-01-11 06:29:45] matt at atopia dot net
Description:
------------
The bug described in http://bugs.php.net/bug.php?id=31195 has not been
fixed in the latest snapshot, Tuesday Jan 11, 4.11-DEV.
As a side comment, I have two identical servers ... frodo and sox.
Frodo is production, sox is devel. They have the same configuration.
This issue ONLY exists on frodo, it does not exist on sox. So it seems
this bug (if it is not fixed in CVS) is circumstancial. However, a
revert back to 4.3.9 instantly fixed the problem on frodo, so I know
its an issue with 4.3.10.
Reproduce code:
---------------
$query = "insert into my_tables (name) values ('Matt')";
if (mssql_query($query))
echo "Successful Query";
else
echo "Unsuccessful Query";
Expected result:
----------------
the row "Matt" is successfully inserted into the table, but bool(false)
is returned (proved with var_dump).
Actual result:
--------------
bool(false) is returned where bool(true) should be returned.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31487&edit=1
Thread (2 messages)