Hi Clemens,


Just the same application started in multiple processes doing the same things. 
The accesses to the db were all readonly.


I print the error from sqlite3_get_table(). The error is "database is locked".


Thanks,
Liu






At 2018-09-24 18:27:24, "Clemens Ladisch" <clem...@ladisch.de> wrote:
>ldl wrote:
>> Multiple applications called sqlite3_get_table() to read data in a same db 
>> file at the same time, got error "database is locked"
>
>Somebody has a write lock.
>
>> Why read-only access is locked?
>
>Because one access is not read only.
>
>> How to resolve the issue?
>
>Find out who locked it.
>Do you know which processess could access the DB file?
>
>
>Regards,
>Clemens
>_______________________________________________
>sqlite-users mailing list
>sqlite-users@mailinglists.sqlite.org
>http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to