varunkumar <[EMAIL PROTECTED]> wrote:
so two different processes cannot  access the database at a time


One process cannot access the database at the same instant
in time that another process is modifying the database.

--
D. Richard Hipp <[EMAIL PROTECTED]>

To clarify further:  Process A and process B can both have
the same database *open* at the same time.

However, if process A tries to access (read or write) the
database while process B is modifying (writing) it, then
process A will get a SQLITE_BUSY error code returned to it.

Process A should be prepared to handle this SQLITE_BUSY
error.  Typically he will want to sleep for a little while,
and then try again.

- Richard Klein


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

Reply via email to