On 8 Feb 2017, at 6:26pm, Jens Alfke <j...@mooseyard.com> wrote:

> On Feb 8, 2017, at 9:46 AM, Simon Slavin <slav...@bigfraud.org> wrote:
> 
>> Does your program execute sqlite3_shutdown() and check to see whether it 
>> returns an error code ?
> 
> Never noticed that function before … the docs say it’s "designed to aid in 
> process initialization and shutdown on embedded systems. Workstation 
> applications using SQLite normally do not need to invoke either of these 
> routines.”
> 
> Are you suggesting calling this just for troubleshooting why the side files 
> don’t get deleted?

Right.  Troubleshooting only.

One doesn’t usually bother with _shutdown().  If you’ve closed all your SQLite 
files correctly then SQLite doesn’t use many resources, and the ones it does 
use will be correctly released by program termination.  But if closing a file 
isn’t doing what it should do, trying a 'super-close' might do something 
interesting.

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

Reply via email to