|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #759 Confusing ora_numrows results
Submitted: 1998-09-18 11:06 UTC Modified: 1999-05-29 11:25 UTC
From: drew at elysium dot demon dot co dot uk Assigned: kara (profile)
Status: Closed Package: Oracle related
PHP Version: 3.0.3 OS: Solaris 2.6/Oracle 8.0.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: drew at elysium dot demon dot co dot uk
New email:
PHP Version: OS:


 [1998-09-18 11:06 UTC] 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 ...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-29 11:25 UTC] 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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 30 22:01:25 2021 UTC