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

Ian Eslick eslick at csail.mit.edu
Wed Jul 25 18:04:05 UTC 2007


Do you know from within what operation or transaction this is occuring?

On Jul 25, 2007, at 11:16 AM, woei at yandex.ru wrote:

> В сообщении от 25 июля 2007 18:17 Ian Eslick  
> написал(a):
>> 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.
>
> I think this won't help.
>
> from sqlite wiki:
> Note that an SQLITE_LOCKED error is distinct from SQLITE_BUSY (5).  
> SQLITE_BUSY
> means that another database connection (probably in another  
> process) is using
> the database in a way that prevents you from using it.  
> SQLITE_LOCKED means
> the source of contention is internal and comes from the same database
> connection that received the SQLITE_LOCKED error.
> _______________________________________________
> 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