Re: Surprising DBD::Oracle error raised
John D Groenveld <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
In message <CAFwScO-0DchsbSLPSmR9JY+KmBUF3BfUREH9XdDSVgEAo=PKqQ@mail.gmail.com>
, David Nicol writes:
> $price_sth->execute;
> my ($o_file_price) = $price_sth->fetchrow_array();
> if ($price_sth->fetch) {
> $this->log_error('ERROR: scalar select returned second row at
>%s line %d', __FILE__, __LINE__);
> }
>
>
>I expected the fetch to return undef, but it throws an Oracle error.
What does your DBI_TRACE reveal?
John
[email protected]