Re: Bug in oci8.php?
| From: | (Thomas Fromm) | Date: | Mon, 12 Mar 2001 12:20:08 +0000 |
| Subject: | Re: Bug in oci8.php? | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1797@lists.php.net to get a copy of this message | ||
Hi,
> if (DB::isError ($result = $db_con -> query ($sql)))
> handle_db_error ($result);
> else
> while ($resultRow = $result -> fetchRow())
> {
> echo $resultRow[0] . '<BR>';
> }
>
>
> Returns this Oracle error:
>
> Warning: OCIFetchInto: ORA-01002: fetch out of sequence in DB/oci8.php
> on line 206
seems to be a bug in errorhandling. this error occurs, when its tried to
fetch one more row, where no one more row to fetch is ;)
just put an @ before every oci* function, because this warnings don't be
showed and must handled in pear....
--tf