What version of SQLite, and what version of DBD-SQLite?
I saw this predictably with DBD-SQLite 1.09 and SQLite 3.2.7 where I did
something like:
$sth = $dbh->prepare("select foo, bar from mytable where rowid = ?");
for $i (1..5) {
($myfoo, $mybar) = $dbh->selectrow_array($sth, undef, $i);
}
It would work for the first iteration, then raise a "not an error" error on the
second. It was annoying, but I usually just worked around it using
$sth->execute/bind_columns/fetch inside the loop.
I updated to DBD-SQLite 1.13 with SQLite 3.3.12, and it worked like it's
documented for DBI (fixed the problem).
-Clark
----- Original Message ----
From: "Anderson, James H (IT)" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, February 7, 2007 2:33:21 PM
Subject: [sqlite] What does this mean???
not an error(21) at dbdimp.c line 398
I'm using DBD::SQLite and got this error. What does it mean and how best
to hanle it?
Thanks,
jim
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not
intend to waive confidentiality or privilege. Use of this email is prohibited
when received in error.
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------