fix
This commit is contained in:
parent
c747836d9d
commit
80cfd591f9
@ -52,7 +52,9 @@ Status SqliteDb::init(CSlice path, bool *was_created) {
|
||||
// from older database
|
||||
|
||||
if (path == ":memory:") {
|
||||
if (was_created != nullptr) {
|
||||
*was_created = false;
|
||||
}
|
||||
} else {
|
||||
bool is_db_exists = stat(path).is_ok();
|
||||
|
||||
|
Reference in New Issue
Block a user