#31438 [Bgs]: mssql_query always returns FALSE

From: Date: Fri, 07 Jan 2005 15:30:25 +0000
Subject: #31438 [Bgs]: mssql_query always returns FALSE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71568@lists.php.net to get a copy of this message
ID: 31438 User updated by: klaus dot kuehne at gga-hannover dot de Reported By: klaus dot kuehne at gga-hannover dot de Status: Bogus Bug Type: MSSQL related Operating System: Windows 2000 Server PHP Version: 4.3.10 New Comment: Shot and killed ... Previous Comments: ------------------------------------------------------------------------ [2005-01-07 12:48:50] sniper@php.net Already reported by someone else (use search before submitting new reports!!!) and also FIXED in CVS. ------------------------------------------------------------------------ [2005-01-07 12:21:48] klaus dot kuehne at gga-hannover dot de 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 this bug report at http://bugs.php.net/?id=31438&edit=1

« previous php.bugs (#71568) next »