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

Ian Eslick eslick at csail.mit.edu
Wed Jul 25 14:17:13 UTC 2007


I think that Robert implemented an approach where each thread  
allocated its own handle to the DB.  However he should verify when he  
has a moment.

Ian


On Jul 25, 2007, at 10:08 AM, woei at yandex.ru wrote:

> В сообщении от 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.
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel




More information about the elephant-devel mailing list