[elephant-devel] sqlite backend, "Error 5 / database is locked"

woei at yandex.ru woei at yandex.ru
Wed Jul 25 14:08:48 UTC 2007


В сообщении от 25 июля 2007 17:44 Ian Eslick написал(a):
> Are you using the SQLite data store in a multi-threaded application?  
> Robert, how did we resolve threading for CL-SQL data stores?  This  
> sounds like a conflict where a second thread is accessing a db while  
> the first thread has the file locked.  However this is just a  
> speculation.

Yes, I am using sqlite in a multi-threaded application.

>From sqlite wiki: Do not use the same database connection at the same time in 
more than one thread.



More information about the elephant-devel mailing list