ID:               31241
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rka at planicsware dot de
-Status:           Open
+Status:           Closed
 Bug Type:         MSSQL related
 Operating System: Windows 2000 Pro SP4
 PHP Version:      5.0.3
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


Previous Comments:
------------------------------------------------------------------------

[2004-12-22 11:53:53] rka at planicsware dot de

Description:
------------
If you execute an empty query the result is an error "Query failed". In
earlier versions the result was bool(true).

Reproduce code:
---------------
//After connect

$result = mssql_query(null);
var_dump($result);

/* or */
// $result = mssql_query("");
//var_dump($result);



Expected result:
----------------
var_dump(result) has to return bool(true)

Actual result:
--------------
Query failed.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31241&edit=1

Reply via email to