#31438 [NEW]: mssql_query always returns FALSE
| From: | klaus dot kuehne at gga-hannover dot de | Date: | Fri, 07 Jan 2005 11:21:49 +0000 |
| Subject: | #31438 [NEW]: mssql_query always returns FALSE | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-71557@lists.php.net to get a copy of this message | ||
From: klaus dot kuehne at gga-hannover dot de
Operating system: Windows 2000 Server
PHP version: 4.3.10
PHP Bug Type: MSSQL related
Bug description: mssql_query always returns FALSE
Description:
------------
Hello,
after upgrading 4.3.6 to 4.3.10, many of out scripts failed. The reason:
On executing INSERT/DELETE/UPDATE-operations, mssql_query() returns FALSE,
even if the statement was o.k. and executed correctly.
Example:
...
$sql = "delete from TAB where [KEY] = 117";
$ret = mssql_query($sql, $con);
if (!$ret) die("Operation Failed");
...
However, the DELETE operation was successful: record 117 was removed from
the table.
After returning to PHP 4.3.6, all scripts are running correctly.
Regards,
Klaus Kühne, GGA Institute, Hannover, Germany
--
Edit bug report at http://bugs.php.net/?id=31438&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31438&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31438&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31438&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31438&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31438&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31438&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31438&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31438&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31438&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31438&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31438&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31438&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31438&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31438&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31438&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31438&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31438&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31438&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31438&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31438&r=mysqlcfg