Sqlite: unable to open database file

A database connect, there updated both queries (different statement, and regardless of order), after completing the implementation, not close, will have an extension called s3db-journal of the (temporary) file, if the use of the connect again the update, then generate "unable to open database file" exception.
Therefore, after completing the implementation of a connect or close, or deal with their own temporary files.
原文地址:https://www.cnblogs.com/netlyf/p/3952831.html