diff options
author | stephan <stephan@noemail.net> | 2022-10-28 14:33:50 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-10-28 14:33:50 +0000 |
commit | ffbc653d85e248e5c24a3bb8467ea223a2711a5c (patch) | |
tree | 8617fca88af5e36638d703b2e3d6f813f2128a24 /ext/wasm/api/sqlite3-api-prologue.js | |
parent | f03ddcca3282b7d8fd2cd6e2f8caa142e5cc5be8 (diff) | |
download | sqlite-ffbc653d85e248e5c24a3bb8467ea223a2711a5c.tar.gz sqlite-ffbc653d85e248e5c24a3bb8467ea223a2711a5c.zip |
Remove sqlite3_interrupt() from the WASM build, as it is essentially impossible to employ in JS's threading model.
FossilOrigin-Name: e85387590061edbb6cdc04de792ab86f43afaa5c8d1b0792206cb5b481c7d76a
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-prologue.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js index 05305db22..b841a0491 100644 --- a/ext/wasm/api/sqlite3-api-prologue.js +++ b/ext/wasm/api/sqlite3-api-prologue.js @@ -838,10 +838,10 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap( ["sqlite3_finalize", "int", "sqlite3_stmt*"], ["sqlite3_free", undefined,"*"], ["sqlite3_initialize", undefined], - ["sqlite3_interrupt", undefined, "sqlite3*" - /* ^^^ we cannot actually currently support this because JS is + /*["sqlite3_interrupt", undefined, "sqlite3*" + ^^^ we cannot actually currently support this because JS is single-threaded and we don't have a portable way to access a DB - from 2 SharedWorkers concurrently. */], + from 2 SharedWorkers concurrently. ],*/ ["sqlite3_libversion", "string"], ["sqlite3_libversion_number", "int"], ["sqlite3_malloc", "*","int"], |