aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/api')
-rw-r--r--ext/wasm/api/sqlite3-api-glue.js4
-rw-r--r--ext/wasm/api/sqlite3-wasm.c4
2 files changed, 8 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;
}
};
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c
index bd0eb884c..cc1db6723 100644
--- a/ext/wasm/api/sqlite3-wasm.c
+++ b/ext/wasm/api/sqlite3-wasm.c
@@ -545,6 +545,10 @@ const char * sqlite3__wasm_enum_json(void){
DefInt(SQLITE_CONFIG_SMALL_MALLOC);
DefInt(SQLITE_CONFIG_SORTERREF_SIZE);
DefInt(SQLITE_CONFIG_MEMDB_MAXSIZE);
+ /* 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. */
} _DefGroup;
DefGroup(dataTypes) {