Re: oci8.php bugfix
| From: | Paul Rees | Date: | Mon, 26 Mar 2001 07:54:57 +0000 |
| Subject: | Re: oci8.php bugfix | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-94@lists.php.net to get a copy of this message | ||
In article <m3k85fw33e.fsf@kirin.trondheim.fast.no>, Stig Sæther Bakken
<ssb@fast.no> writes
>[Paul Rees <paul.rees@surfeu.com>]
>> Hi,
>>
>> A while ago I posted something like this:
>>
>> ==================================================
>>
>> This code:
>>
>> $sql = "select * from TABLE_NAME";
>>
>> if (DB::isError ($result = $db_con -> query ($sql)))
>> echo DB::errorMessage($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
>I just removed the "if (!$row)" test from oci8.php. Could you test
>with revision 1.21 of oci8.php (the latest one)?
>
> - Stig
Hi!,
Yes, that seems fine. Thanks.
All the best,
--
Paul Rees