On 5/12/2011 12:31 PM, John Deal wrote: > When I allow multiple readers with each thread using a different DB > connection (open with the same flags) and each thread having > exclusive use of its DB connection (no sharing of connections) and if > more than one thread is reading the DB at the same time, the DB > becomes locked for writing even when all the reads are finished.
My first inclination would be to look for places where you leak active statement handles, by failing to reset or finalize statements. The read operation is not really finished until the statement is reset/finalized. -- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users