aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-wasm.c
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-03 18:05:27 +0000
committerstephan <stephan@noemail.net>2022-10-03 18:05:27 +0000
commit4b074692f45fb57ec8bd3b718cbb920ff2a40a69 (patch)
treec4e6ae1d6790294fa527343309dafe2e1aa51c1f /ext/wasm/api/sqlite3-wasm.c
parent57956a9c86d19aa9728d58e015fa87b0acd5a99a (diff)
downloadsqlite-4b074692f45fb57ec8bd3b718cbb920ff2a40a69.tar.gz
sqlite-4b074692f45fb57ec8bd3b718cbb920ff2a40a69.zip
Omit WAL mode from the wasm build.
FossilOrigin-Name: 88efe2a62b81e5ee9119f54204e397fda59666a327158c7b7c972e84a716869e
Diffstat (limited to 'ext/wasm/api/sqlite3-wasm.c')
-rw-r--r--ext/wasm/api/sqlite3-wasm.c3
1 files changed, 3 insertions, 0 deletions
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. */