From ffbc653d85e248e5c24a3bb8467ea223a2711a5c Mon Sep 17 00:00:00 2001 From: stephan Date: Fri, 28 Oct 2022 14:33:50 +0000 Subject: Remove sqlite3_interrupt() from the WASM build, as it is essentially impossible to employ in JS's threading model. FossilOrigin-Name: e85387590061edbb6cdc04de792ab86f43afaa5c8d1b0792206cb5b481c7d76a --- ext/wasm/api/sqlite3-api-prologue.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/wasm/api/sqlite3-api-prologue.js') 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"], -- cgit v1.2.3