3 messages in com.mysql.lists.perlRe: fetchrow_hashref| From | Sent On | Attachments |
|---|---|---|
| Dmitry Ivanov | 14 Mar 2002 02:59 | |
| Qichao Dong (Leon) | 14 Mar 2002 13:35 | |
| Vladimir V. Kolpakov | 14 Mar 2002 22:22 |
| Subject: | Re: fetchrow_hashref![]() |
|---|---|
| From: | Qichao Dong (Leon) (do...@cs.utk.edu) |
| Date: | 03/14/2002 01:35:07 PM |
| List: | com.mysql.lists.perl |
This is just my guess, Dmitry:
$Addr is a scalar but ($Addr) is an array reference. So maybe this caused the problem. But I don't know why the error message is "fetch...".
On Thu, 14 Mar 2002, Dmitry Ivanov wrote:
my $Addr = $sth->fetchrow_hashref
works fine
my ($Addr) = $sth->fetchrow_hashref
fails with "fetch() without execute()". Why?
-- ____ _ | _ \(_)_ __ ___ ___ ___ | | | | | '_ ` _ \/ __/ __| | |_| | | | | | | \__ \__ \ |____/|_|_| |_| |_|___/___/
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail
msql...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail msql...@lists.mysql.com instead.
------------------------------------------------------------------------
------------------------------------------------------------------------ Qichao Dong(Leon)
Graduate Research Assistant Innovative Computing Lab Computer Science Dept. University of Tennessee, Knoxville (865)974-6852 do...@cs.utk.edu




