Skip to content

Commit ebd8fd1

Browse files
author
larryhou
committed
Update
1 parent 7f42867 commit ebd8fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MemoryCrawler/MemoryCrawler/Crawler/cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void SnapshotCrawlerCache::open(const char *filepath)
2020
assert(rc == 0);
2121

2222
sqlite3_exec(__database, "PRAGMA FOREIGN_KEYS=OFF;", nullptr, nullptr, nullptr);
23-
sqlite3_exec(__database, "PRAGMA journal_mode = MEMORY", nullptr, nullptr, nullptr);
23+
sqlite3_exec(__database, "PRAGMA journal_mode = MEMORY;", nullptr, nullptr, nullptr);
2424
}
2525

2626
void SnapshotCrawlerCache::create(const char *sql)

0 commit comments

Comments
 (0)