From 6f9f7a1c77f1c2430ac9fcc56efd80b52da3c415 Mon Sep 17 00:00:00 2001 From: Piotr Sarna Date: Sat, 29 Oct 2022 21:05:42 +0200 Subject: [PATCH] wasm: drop SQLITE_OMIT_WAL flag We want to be able to use WAL journaling from the browser eventually, so the flag is hereby dropped. --- ext/wasm/GNUmakefile | 1 - ext/wasm/api/sqlite3-wasm.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/ext/wasm/GNUmakefile b/ext/wasm/GNUmakefile index 45ab3b8386..9932a6b38f 100644 --- a/ext/wasm/GNUmakefile +++ b/ext/wasm/GNUmakefile @@ -64,7 +64,6 @@ SQLITE_OPT = \ -DSQLITE_OMIT_DEPRECATED \ -DSQLITE_OMIT_UTF16 \ -DSQLITE_OMIT_SHARED_CACHE \ - -DSQLITE_OMIT_WAL \ -DSQLITE_THREADSAFE=0 \ -DSQLITE_TEMP_STORE=3 \ -DSQLITE_OS_KV_OPTIONAL=1 \ diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c index 26771d5c9a..d4b60d50e6 100644 --- a/ext/wasm/api/sqlite3-wasm.c +++ b/ext/wasm/api/sqlite3-wasm.c @@ -119,9 +119,6 @@ #ifndef SQLITE_OMIT_UTF16 # define SQLITE_OMIT_UTF16 1 #endif -#ifndef SQLITE_OMIT_WAL -# define SQLITE_OMIT_WAL 1 -#endif #ifndef SQLITE_OS_KV_OPTIONAL # define SQLITE_OS_KV_OPTIONAL 1 #endif