On Mon, Apr 1, 2013 at 4:31 PM, Patrick Herbst <paher...@gmail.com> wrote:

> When is there a need to use sqlite3_shutdown?
>
> I don't really see a clear explanation of when/how its needed.
>
> Any tips, please?
>

You have to run sqlite3_shutdown() prior to using sqlite3_config() if you
have previously started up and closed database connections.  Other than
that, sqlite3_shutdown() is usually optional.

It is theoretically possible that a custom 3rd-party VFS might require
sqlite3_shutdown().  But none of the built-in VFSes (for unix and windows)
require it.  Nor am I aware of any actual VFS implementations that require
it.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to