Re: DBD::SQLite 1.09 dies if select returns 0 rows

2005-08-12 Thread Peter J. Holzer
On 2005-08-12 14:36:02 -0400, Owen wrote: On Wed, 10 Aug 2005 21:35:31 +0200 Peter J. Holzer [EMAIL PROTECTED] wrote: the next line causes an exception, but shouldn't: $tkcount = $dbh-selectrow_array($sth, {}, 'baz'); print $tkcount\n; Yes, I get the same error message when s/baz/bar/

Re: DBD::SQLite 1.09 dies if select returns 0 rows

2005-08-11 Thread Owen
On Wed, 10 Aug 2005 21:35:31 +0200 Peter J. Holzer [EMAIL PROTECTED] wrote: the next line causes an exception, but shouldn't: $tkcount = $dbh-selectrow_array($sth, {}, 'baz'); print $tkcount\n; Yes, I get the same error message when s/baz/bar/ but not s/baz/foo/ Not sure what to make of

DBD::SQLite 1.09 dies if select returns 0 rows

2005-08-10 Thread Peter J. Holzer
I just installed the current version of DBD::SQLite from CPAN, and found that it raises an error if a select returns zero rows. I don't think it should do that. DBD::SQLite 0.31 didn't, and DBD::Oracle and DBD::mysql don't either. Here is a simple test program: