aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-wasm.c
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2023-12-31 04:01:36 +0000
committerstephan <stephan@noemail.net>2023-12-31 04:01:36 +0000
commit7a482b3bcda5c36e0c50f05921ddfbb3256fc64a (patch)
tree3c20a85f85cdff75aeed41d1518d00db7b5b0c4a /ext/wasm/api/sqlite3-wasm.c
parente24cd27c39de2e6aade490042248af1bc67dfe19 (diff)
downloadsqlite-7a482b3bcda5c36e0c50f05921ddfbb3256fc64a.tar.gz
sqlite-7a482b3bcda5c36e0c50f05921ddfbb3256fc64a.zip
Use SQLITE_ENABLE_STAT4 in both the WASM and JNI builds.
FossilOrigin-Name: 99d11e6d0ae687ff6bac5119027f7b04d5e7185214e79cf8c56289cfa809b0f9
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 3e22c799c..23386c7c7 100644
--- a/ext/wasm/api/sqlite3-wasm.c
+++ b/ext/wasm/api/sqlite3-wasm.c
@@ -122,6 +122,9 @@
#ifndef SQLITE_ENABLE_SESSION
# define SQLITE_ENABLE_SESSION 1
#endif
+#ifndef SQLITE_ENABLE_STAT4
+# define SQLITE_ENABLE_STAT4 1
+#endif
#ifndef SQLITE_ENABLE_STMTVTAB
# define SQLITE_ENABLE_STMTVTAB 1
#endif