#47676 [Opn->Ver]: Wrong documentation for return values of ingres_query
ID: 47676
Updated by: grantc@php.net
Reported By: darko dot bunic at gmail dot com
-Status: Open
+Status: Verified
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: grantc@php.net
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)