diff options
author | stephan <stephan@noemail.net> | 2024-03-21 15:52:52 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-03-21 15:52:52 +0000 |
commit | 006a9b51aa5fcb636325587d28b17474148bb41e (patch) | |
tree | 0398ce6d0c1d01ce2c067a2f691c88660c6c80ec /ext/wasm/api/sqlite3-api-glue.js | |
parent | 529ed1a3a3b1a32fa1343e0466f627870cffbfb6 (diff) | |
download | sqlite-006a9b51aa5fcb636325587d28b17474148bb41e.tar.gz sqlite-006a9b51aa5fcb636325587d28b17474148bb41e.zip |
Add comments (only, no code) to the JS sqlite3_config() bindings reminding us why SQLITE_CONFIG_ROWID_IN_VIEW is specifically not included. JNI does not need this treatment because it explicitly supports only a very small subset of config options.
FossilOrigin-Name: 4fea396221e84f9532f9327226691621a23bd966a860329fc579141c69cf7f64
Diffstat (limited to 'ext/wasm/api/sqlite3-api-glue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-glue.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-api-glue.js b/ext/wasm/api/sqlite3-api-glue.js index 2cb4c800d..b05d7a765 100644 --- a/ext/wasm/api/sqlite3-api-glue.js +++ b/ext/wasm/api/sqlite3-api-glue.js @@ -1547,6 +1547,10 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ case capi.SQLITE_CONFIG_SQLLOG: // 21 /* xSqllog, void* */ case capi.SQLITE_CONFIG_WIN32_HEAPSIZE: // 23 /* int nByte */ default: + /* maintenance note: we specifically do not include + SQLITE_CONFIG_ROWID_IN_VIEW here, on the grounds that + it's only for legacy support and no apps written with + this API require that. */ return capi.SQLITE_NOTFOUND; } }; |