On 4 Oct 2018, at 10:57am, ldl <ldlch...@163.com> wrote: > 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".
Set a timeout of 60,000ms and see whether this makes the errors go away: <https://www.sqlite.org/c3ref/busy_timeout.html> Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users