Hello,

I have a simple question (at least I hope so): is an explicit DETACH database command necessary before an SQLITE3_close() or is the close() alone sufficient? I think, close() alone is enough but I can't find anything concerning that question in the documentation.

Why do I want to ommit the DETACH? I open a database, ATTACH another database, begin an exlusive transaction, do an insert, commit the transaction, close the database. If I need a DETACH, it could happen, that another exlusive transaction blocks the database and the DETACH does not succeed. So I would have to take care of that error. It would be easier, just to ommit the DETACH.

Thanks in advance for any help.

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

Reply via email to