On Mon, Jun 23, 2014 at 10:58 AM, Simon Slavin <slav...@bigfraud.org> wrote:

>
> On 22 Jun 2014, at 11:33pm, João Ramos <joao.si...@gmail.com> wrote:
>
> > What happens is this: - a thread acquires the write DB connection - that
> > thread inserts a new row in a table and gets its id -
>
> Are you finalizing all these SQL commands (or using _exec() which amounts
> to the same thing) ?
>
>
Yes, I double checked and everything is being terminated properly (e.g.:
sqlite3_reset, etc.) and without any error codes.


> > the thread releases
> > the write DB connection (so that other threads can use it)
>
> What do you mean by 'releases' here ?  If you have other threads using the
> same connection, you're obviously not closing it.
>
>
No, the SQLite connection isn't closed. By "release" I mean release back to
the thread pool.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to