Commit 255e7294 authored by Pavel Vainerman's avatar Pavel Vainerman

(sqlite): minor fix

parent 1537ead3
......@@ -85,6 +85,9 @@ bool SQLiteInterface::connect( const string& dbfile, bool create, int extra_sqli
if( db && ping() )
return true;
if( db )
close();
int flags = create ? 0 : SQLITE_OPEN_READWRITE;
if( extra_sqlite_flags )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment