> On Dec 13, 2016, at 5:33 PM, Simon Slavin <slav...@bigfraud.org> wrote:
> 
> The only thing you should do if sqlite3_close() doesn’t work is to print an 
> error message which includes the value returned.  Because if you can’t close 
> the database what are you going to do instead ?

Igor is attempting to log info about any active statements that are preventing 
the db from closing, for debugging purposes.

I’ve done similar things in the past; I’ve sometimes had issues in my own code 
that prevented statements from getting freed or reset after a query.

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

Reply via email to