[Dbix-class] SQLite problem (cannot update in iterator loop)

Dan Sully daniel at electricrain.com
Thu Jan 19 18:47:17 CET 2006


* Daisuke Murase shaped the electrons to say...

>This script shows following error:
>
>    DBD::SQLite::st execute failed: database table is locked(1) at
>    dbdimp.c line 398 at
>    /usr/local/share/perl/5.8.4/DBIx/Class/Storage/DBI.pm line 187.
>    Use of uninitialized value in numeric eq (==) at
>    /usr/local/share/perl/5.8.4/DBIx/Class/Row.pm line 116.  Can't
>    update DBIC::Test=HASH(0x85a8c3c): row not found at dbic_test.pl
>    line 20

This is an unfortunate limitation with DBD::SQLite. Not SQLite itself, which
can handle multiple readers and one writer.

-D
--
"It has become appallingly obvious that our technology has exceeded our humanity." - Albert Einstein



More information about the Dbix-class mailing list