You can only open one connection in exclusive mode - even in one process.

-----Ursprüngliche Nachricht-----
Von: John Stanton [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 10. April 2007 20:14
An: [email protected]
Betreff: [sqlite] Exclusive Access

A quick question in case someone has experience before I delve into the
source and write some test programs.

Is there any impediment for two threads to have concurrent read mode access
to a database opened exclusively by a process?  Is it feasible that they use
the same database connection or would they each need their own database
connection and use shared cache mode?

Ideally I should like them to share a connection and a common local cache
but can think of many reasons why that might not be possible.


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



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

Reply via email to