Keep It Simple, Stupid | |
PerlMonks |
DBD::SqLite issue while accessing DB from multiple processesby zuverlassig (Novice) |
on Feb 04, 2014 at 20:03 UTC ( [id://1073462]=perlquestion: print w/replies, xml ) | Need Help?? |
zuverlassig has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks, I have a code in which I am trying to access SqLite DB file from multiple processes. Here is my code for one of such processes :
I am getting these error messages: DBD::SQLite::db do failed: database schema has changed(17) at dbdimp.c line 403 at childprocess.pl line 88. DBD::SQLite::db do failed: database is locked(5) at dbdimp.c line 403 at childprocess.pl line 121. DBD::SQLite::db do failed: database is locked(5) at dbdimp.c line 403 at childprocess.pl line 224. Where line 88 is the drop statement, and line 121 is the insert statement and 224 is the update statement Note that there is no commit statement here. Please help me with this.
Back to
Seekers of Perl Wisdom
|
|