diff options
author | stephan <stephan@noemail.net> | 2023-07-20 09:06:42 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-07-20 09:06:42 +0000 |
commit | 0b518b8d656f8e76855fd010aa2ff72eeedc1f4c (patch) | |
tree | 8c5790863d30a7c032a035904e0e0b572d86f0ef /ext/wasm/api/sqlite3-vfs-opfs.c-pp.js | |
parent | 55f318e53f0dc9343b2bc87956a3ea263e06eba3 (diff) | |
download | sqlite-0b518b8d656f8e76855fd010aa2ff72eeedc1f4c.tar.gz sqlite-0b518b8d656f8e76855fd010aa2ff72eeedc1f4c.zip |
Filter the OPFS VFSes out of the sqlite3-node.mjs build. Add another level of subdirectory to the sahpool to later enable transparent support of client-provided files under the VFS's root dir. Rework the awkward sahpool-via-oo1 mapping.
FossilOrigin-Name: 080a4d0aba30d8f3802b49be4a113205f069b3bdea8cebf525d654055642ff62
Diffstat (limited to 'ext/wasm/api/sqlite3-vfs-opfs.c-pp.js')
-rw-r--r-- | ext/wasm/api/sqlite3-vfs-opfs.c-pp.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js index 7d313a263..61b7534de 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js @@ -1,3 +1,4 @@ +//#ifnot target=node /* 2022-09-18 @@ -1370,3 +1371,6 @@ globalThis.sqlite3ApiBootstrap.initializersAsync.push(async (sqlite3)=>{ } }); }/*sqlite3ApiBootstrap.initializers.push()*/); +//#else +/* The OPFS VFS parts are elided from builds targeting node.js. */ +//#endif target=node |