aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-cleanup.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-30 05:27:36 +0000
committerstephan <stephan@noemail.net>2022-11-30 05:27:36 +0000
commitad4f7828153e6b80c0fceabb1a9ece702172b836 (patch)
treeea2ebea5c2bdb36a24e59026181f066bf31c7b7b /ext/wasm/api/sqlite3-api-cleanup.js
parentd0945f4638f342daf4c84ab5a03449137435dd36 (diff)
downloadsqlite-ad4f7828153e6b80c0fceabb1a9ece702172b836.tar.gz
sqlite-ad4f7828153e6b80c0fceabb1a9ece702172b836.zip
Refactor a significant chunk of the OPFS sqlite3_vfs init code into sqlite3.VfsHelper, and internal-use-only API encapsulating code relevant to creating new VFSes in JS. Intended to assist in pending experimentation with an alternative OPFS VFS.
FossilOrigin-Name: e25d7b080a807e35b32cb885ea75b384130e5c6e936dfef783c5b45d9bfe77d8
Diffstat (limited to 'ext/wasm/api/sqlite3-api-cleanup.js')
-rw-r--r--ext/wasm/api/sqlite3-api-cleanup.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/wasm/api/sqlite3-api-cleanup.js b/ext/wasm/api/sqlite3-api-cleanup.js
index bef4d91d7..0ec0fbfbe 100644
--- a/ext/wasm/api/sqlite3-api-cleanup.js
+++ b/ext/wasm/api/sqlite3-api-cleanup.js
@@ -58,8 +58,6 @@ if('undefined' !== typeof Module){ // presumably an Emscripten build
self.S = sqlite3;
}
- /* Clean up temporary references to our APIs... */
- delete sqlite3.util /* arguable, but these are (currently) internal-use APIs */;
Module.sqlite3 = sqlite3 /* Needed for customized sqlite3InitModule() to be able to
pass the sqlite3 object off to the client. */;
}else{