Bug #759 [Com]: Confusing ora_numrows results
| From: | master dot training365 at gmail dot com | Date: | Sat, 12 Feb 2022 02:36:11 +0000 |
| Subject: | Bug #759 [Com]: Confusing ora_numrows results | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-239703@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=759&edit=1
ID: 759
Comment by: master dot training365 at gmail dot com
Reported by: drew at elysium dot demon dot co dot uk
Summary: Confusing ora_numrows results
Status: Closed
Type: Bug
Package: Oracle related
Operating System: Solaris 2.6/Oracle 8.0.5
PHP Version: 3.0.3
Assigned To: kara
Block user comment: N
Private report: N
New Comment:
http://acva2010.cs.drexel.edu/forum/index.php?u=/topic/32250/Dred#post-38727
Previous Comments:
------------------------------------------------------------------------
[1999-05-29 11:25:08] thies at cvs dot php dot net
that's the way it is, we cannot provide an api for this as oracle doesn't give us that
info.
------------------------------------------------------------------------
[1998-09-18 11:06:46] drew at elysium dot demon dot co dot uk
After doing either an ora_do, or a ora_prepare then ora_exec ora_numrows seems to return the number
of rows fetched not the number of rows in the total result set. Connecting as scott/tiger and doing
an ora_do($conn, "select * from cat"), ora_numrows returns a value of 1, after a fetch the
return value of ora_numrows is 2 and so on. If it is any help the perl DBI/DBD combination returns
the total number of rows in the result set from its implementation of oexec ...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=759&edit=1