diff options
Diffstat (limited to 'ext/wasm')
-rw-r--r-- | ext/wasm/GNUmakefile | 1 | ||||
-rw-r--r-- | ext/wasm/api/sqlite3-wasm.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/wasm/GNUmakefile b/ext/wasm/GNUmakefile index 94cb17a72..f6d2a50c9 100644 --- a/ext/wasm/GNUmakefile +++ b/ext/wasm/GNUmakefile @@ -63,6 +63,7 @@ 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 99196db15..aaf6a7856 100644 --- a/ext/wasm/api/sqlite3-wasm.c +++ b/ext/wasm/api/sqlite3-wasm.c @@ -55,6 +55,9 @@ #ifndef SQLITE_THREADSAFE # define SQLITE_THREADSAFE 0 #endif +#ifndef SQLITE_OMIT_WAL +# define SQLITE_OMIT_WAL +#endif #include <assert.h> #include "sqlite3.c" /* yes, .c instead of .h. */ |