diff options
author | stephan <stephan@noemail.net> | 2025-06-18 15:37:04 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2025-06-18 15:37:04 +0000 |
commit | 2be0a700ff57a9693ce85d60b30960d09dfbd96d (patch) | |
tree | 8277566f7d7e58d3bb00ad28e1a28b784e9fcaad /ext/wasm/api/sqlite3-wasm.c | |
parent | 3a26f72e20f0063b485e2618060f30f73369c85b (diff) | |
download | sqlite-2be0a700ff57a9693ce85d60b30960d09dfbd96d.tar.gz sqlite-2be0a700ff57a9693ce85d60b30960d09dfbd96d.zip |
Export the column-metadata APIs to WASM. Doing so requires a non-default build of sqlite3.c, so this is a proof-of-concept branch saved just in case SQLITE_ENABLE_COLUMN_METADATA ever becomes the default for sqlite3.c.
FossilOrigin-Name: 59db3f639d1073678805dea26a4686eddfb238f055aa90bd429fc7fd33241502
Diffstat (limited to 'ext/wasm/api/sqlite3-wasm.c')
-rw-r--r-- | ext/wasm/api/sqlite3-wasm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c index 1850d313c..ee8a10209 100644 --- a/ext/wasm/api/sqlite3-wasm.c +++ b/ext/wasm/api/sqlite3-wasm.c @@ -135,9 +135,12 @@ /* ** If SQLITE_WASM_BARE_BONES is defined, undefine most of the ENABLE -** macros. +** macros. This will, when using the canonical makefile, also elide +** any C functions from the WASM exports which are listed in +** ./EXPORT_FUNCTIONS.sqlite3-extras. */ #ifdef SQLITE_WASM_BARE_BONES +# undef SQLITE_ENABLE_COLUMN_METADATA # undef SQLITE_ENABLE_DBPAGE_VTAB # undef SQLITE_ENABLE_DBSTAT_VTAB # undef SQLITE_ENABLE_EXPLAIN_COMMENTS |