#30807 [Opn->Csd]: mssql_query() return true on sql which return empty dataset

From: Date: Wed, 17 Nov 2004 20:09:59 +0000
Subject: #30807 [Opn->Csd]: mssql_query() return true on sql which return empty dataset
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365110@lists.php.net to get a copy of this message
ID: 30807 Updated by: vrana@php.net Reported By: shagren at ua dot fm -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Debian GNU Linux PHP Version: 4.3.9 Assigned To: fmk New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. "Returns: A positive MS SQL result identifier on success, true if no rows were returned, or false on error." Previous Comments: ------------------------------------------------------------------------ [2004-11-17 10:41:46] shagren at ua dot fm >This is not MSSQL related. Hm... I have problem with mssql_query() function and this is not MSSQL related? ------------------------------------------------------------------------ [2004-11-16 18:59:41] fmk@php.net This is not MSSQL related. You are compiling using --with-sybase-ct. If you change that to --with-mssql you'll get the expected result. (Tested with current CVS for 4.3.10). ------------------------------------------------------------------------ [2004-11-16 18:14:50] tony2001@php.net Looks like documentation problem to me. According to sources, this is the very expected behavior, as there is no sense in fetching result that contains no data. Reclassifying. ------------------------------------------------------------------------ [2004-11-16 16:59:33] shagren at ua dot fm Change topic more ------------------------------------------------------------------------ [2004-11-16 16:58:35] shagren at ua dot fm Must be: mssql_query() return true on empty dataset ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30807 -- Edit this bug report at http://bugs.php.net/?id=30807&edit=1

« previous php.doc (#969365110) next »