Red Hat Bugzilla – Bug 451791
parallel access to a database does not work
Last modified: 2008-06-17 10:45:34 EDT
Two processes should be able to access the same database file simultaneously,
provided they commit timely.
The problem does not appear with 3.5.6-1.fc9 nor with 3.5.9.
See the attached reproducer.
With working sqlite, the output is:
With a broken sqlite build, this is followed by two error messages:
DBD::SQLite::db do failed: database is locked(5) at dbdimp.c line 403 at ./t07bu
sy8-lock line 45, <READER> line 1.
Issuing rollback() for database handle being DESTROY'd without explicit
disconnect() at ./t07busy8-lock line 45, <READER> line 1.
According to my tests, this is fixed in sqlite-3.5.9, so if the suggestion from
bug #450664 is accepted, this should disappear.
Created attachment 309615 [details]
sqlite has been updated, which should solve this issue as well