[prev in list] [next in list] [prev in thread] [next in thread]
List: sqlite-users
Subject: Re: [sqlite] Database locking Error
From: Simon Slavin <slavins () bigfraud ! org>
Date: 2013-08-30 13:06:33
Message-ID: F538E045-ED2C-4516-823E-E4DE3E056325 () bigfraud ! org
[Download RAW message or body]
On 30 Aug 2013, at 5:36am, techi eth <techieth@gmail.com> wrote:
> Thanks for suggestion. I will take it forward.
>
> locking will happen with two simultaneous processes accessing for read also?
I don't think it can happen if they're both reading. But a process which is reading \
could block a process which is writing, and a process which is writing could block a \
process which is reading.
The easiest way to cope with it is to always set a timeout and handle the error \
correctly.
Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic