John Firebaugh <john_firebaugh-C69GFqk2Qz/[EMAIL PROTECTED]>
wrote:
No. You are still required to synchronize access, so only one thread
uses the connection at any given time. If you don't, it will
likely lead to database corruption.

I belive you are mistaken.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg28089.html

From the same thread:

http://www.mail-archive.com/sqlite-users@sqlite.org/msg28099.html
But with SQLite 3.5, access to each database connection is serialized.

So yes, you don't need to syncrhonize access yourself, but SQLite engine will do it for you. For example, if one thread runs an UPDATE statement on a connection, another thread attempting to use the same connection will block until UPDATE finishes. At no point will you have two threads writing to the database simultaneously.

Igor Tandetnik

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to