#47676 [NEW]: Wrong documentation for return values of ingres_query
From: darko dot bunic at gmail dot com
Operating system: Irrelevant
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Wrong documentation for return values of ingres_query
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 bug report at http://bugs.php.net/?id=47676&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47676&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47676&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47676&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47676&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47676&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47676&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47676&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47676&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47676&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47676&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47676&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47676&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47676&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47676&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47676&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47676&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47676&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47676&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47676&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47676&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47676&r=mysqlcfg
Thread (4 messages)
- darko dot bunic at gmail dot com