On 1 Mar 2017, at 7:27pm, Bob Friesenhahn <bfrie...@simple.dallas.tx.us> wrote:

> What is the recommended approach to diagnosing "Database is locked" errors 
> and determining the guilty party?

Are you checking the result codes returned by all SQLite commands you give to 
make sure they are SQLITE_OK ?

I’m not talking about checking them only after you’re getting "Database is 
locked" I’m talking about putting the checks in all your code which calls the 
SQLite API.  If SQLite is working the way it’s meant to, you could get a bad 
result from one of those calls before you start getting "Database is locked" 
from everything.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to