On 4 Mar 2015, at 1:45pm, Hick Gunter <hick at scigames.at> wrote:

> Only one writer may be active at any one time. The other(s) will recieve an 
> error return status. You can either wait a while and retry this in your 
> application or set a busy timeout to handle the "usual" cases for you.

Agreed.  The default timeout for SQLite is zero, which means that the first 
time both threads try to access the database at the same time an error will 
occur.  Setting a retry time will fix this.

If someone is using System.Data.SQLite how do they set a busy timeout ?  Do 
they have access to the C function or the PRAGMA ?

Simon.

Reply via email to