Brodie Thiesfield <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have multiple processes using a single database for both read and
> write. I want to ensure that my interpretation of the v3 API spec is
> correct. In particular, I want to ensure that all processes lock the
> database for the minimum time possible and release the lock as soon as
> they have finished processing the SQL statement. Are locks released
> automatically on error/done, or manually by the sqlite3_reset() call, or
> some other function?
> 

You should call sqlite3_reset() (or sqlite3_finalize()) to make sure
locks are released.  They might have been released prior to that point,
but not always.
--
D. Richard Hipp  <[EMAIL PROTECTED]>


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

Reply via email to