If the error is on the first fetchrow_hashref, there is not enough code to see
what the problem is. If it is the second fetchrow_hashref, finish should be
called after the while, if at all. If your while loop fetches all of the rows
and
fetches again to get the undef value which indicates no more
d
At 01:08 PM 9/3/2003 -0400, Michael Ragsdale wrote:
>At 12:43 PM 9/3/2003, NIPP, SCOTT V (SBCSI) wrote:
>>I keep coming up with this error, but I AM performing an execute
>>prior to the fetch. I have seen some other threads on this, and have
>>upgraded the DBD:Mysql to the latest version o
At 12:43 PM 9/3/2003, NIPP, SCOTT V (SBCSI) wrote:
I keep coming up with this error, but I AM performing an execute
prior to the fetch. I have seen some other threads on this, and have
upgraded the DBD:Mysql to the latest version on CPAN. Any ideas? Here is a
small portion of the code:
i
I don't think you should be calling finish before fetching. I think
that is the problem here.
Michael
> Date: Wed, 3 Sep 2003 12:01:03 -0500
> From: "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: R
ROTECTED]
Sent: Wednesday, September 03, 2003 11:54 AM
To: NIPP, SCOTT V (SBCSI)
Cc: [EMAIL PROTECTED]
Subject: Re: fetch( ) without execute( ) Error...
Which fetchrow_hashref line? I see two of them, but only one execute. You
need to include more code for anyone to kno
On Wed, Sep 03, 2003 at 11:43:48AM -0500, NIPP, SCOTT V (SBCSI) wrote:
> I keep coming up with this error, but I AM performing an execute
> prior to the fetch. I have seen some other threads on this, and have
> upgraded the DBD:Mysql to the latest version on CPAN. Any ideas? Here is a
> sm
)" <[EMAIL PROTECTED]>
09/03/2003 12:43 PM
To: [EMAIL PROTECTED]
cc:
Subject: fetch( ) without execute( ) Error...
I keep coming up with this error, but I AM performing an
execute
prior to the fetch. I have seen some other thre
I keep coming up with this error, but I AM performing an execute
prior to the fetch. I have seen some other threads on this, and have
upgraded the DBD:Mysql to the latest version on CPAN. Any ideas? Here is a
small portion of the code:
if ($rows2 == 1) {
my $vals = $test2->fetchrow_