#47676 [Ver->Asn]: Wrong documentation for return values of ingres_query

From: Date: Mon, 16 Mar 2009 18:29:36 +0000
Subject: #47676 [Ver->Asn]: Wrong documentation for return values of ingres_query
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1991@lists.php.net to get a copy of this message
 ID:               47676
 Updated by:       bjori@php.net
 Reported By:      darko dot bunic at gmail dot com
-Status:           Verified
+Status:           Assigned
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
-Assigned To:      grantc@php.net
+Assigned To:      grantc


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

[2009-03-16 14:28:11] darko dot bunic at gmail dot com

Description:
------------
Original sentence from documentation of ingres_query return values:

"ingres_query() returns a query result identifier when there are rows
to fetch else it returns FALSE when there are no rows, as is the case of
an INSERT, UPDATE or a DELETE statement."

I tested ingres_query function and it returns result resource in INSERT
/ UPDATE / DELETE too, so I suppose that manual need to be updated.

Result resurce is needed for ingres_num_rows to return the number of
affected rows in case of INSERT / UPDATE / DELETE. 



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


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



Thread (4 messages)

« previous php.doc.bugs (#1991) next »