What is the return value of sqlite3_close?

RBS

On Wed, Jun 28, 2017 at 10:37 AM, Domonic Tom <abdom...@hotmail.com> wrote:

> After calling sqlite3_close(handle) I try then to use the 'remove' method
> in C++ to delete my .db file.  For some reason it just won't delete.
>
>
> It's hard to show you the whole project because it's large.
>
>
> I believe this has something to do with sqlite3_close only de-allocating
> the connection to the database.
>
>
> Would anyone know how to go about making sure that the database file is
> not busy and can be deleted.  Is there a specific function for this.
>
>
> There's a few hints round the web mentioning Garbage Collection, and
> deleting the query but I don't understand how to do either.
>
>
> Any help would be appreciated.
>
>
> Thanks
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to