Process SqliteDb shared memory file last.

GitOrigin-RevId: 6752ab25495ccb4dccc5a51cee78956ce1a9034f
This commit is contained in:
levlam 2019-09-16 21:18:36 +03:00
parent 7fdaf3c530
commit bf3e159d35

View File

@ -29,8 +29,8 @@ class RawSqliteDb {
static void with_db_path(Slice main_path, F &&f) {
f(PSLICE() << main_path);
f(PSLICE() << main_path << "-journal");
f(PSLICE() << main_path << "-shm");
f(PSLICE() << main_path << "-wal");
f(PSLICE() << main_path << "-shm");
}
static Status destroy(Slice path) TD_WARN_UNUSED_RESULT;