From: matt at atopia dot net Operating system: FreeBSD 4.10 PHP version: 4.3.10 PHP Bug Type: MSSQL related Bug description: Reference: http://bugs.php.net/bug.php?id=31195
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 bug report at http://bugs.php.net/?id=31487&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31487&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31487&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31487&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31487&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31487&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31487&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31487&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31487&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31487&r=support Expected behavior: http://bugs.php.net/fix.php?id=31487&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31487&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31487&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31487&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31487&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31487&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31487&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31487&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31487&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31487&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31487&r=mysqlcfg