On 24 Mar 2019, at 12:45pm, Gerlando Falauto <gerlando.fala...@gmail.com> wrote:

> if there's a way
> of getting a list of the current transactions or locks.

You can iterate through all the current statements for a connection:

<https://sqlite.org/c3ref/next_stmt.html>

However many wrappers do not implement this function since they have no way to 
do anything with the pointers it returns.

The problem you describe has been mentioned by other users on this list.  It 
sometimes turns out that the error is in the user's programming which forgets 
to sqlite3_finalize() a statement when it is finished with it, or forgets to 
sqlite3_close() a connection when it is finished with it.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to