Bug #759: Confusing ora_numrows results
| From: | drew at elysium dot demon dot co dot uk | Date: | Fri, 18 Sep 1998 15:06:46 +0000 |
| Subject: | Bug #759: Confusing ora_numrows results | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1235@lists.php.net to get a copy of this message | ||
From: drew@elysium.demon.co.uk
Operating system: Solaris 2.6/Oracle 8.0.5
PHP version: 3.0.3
PHP Bug Type: Oracle related
Bug description:
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 ...
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net