aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-opfs-async-proxy.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-01 07:49:49 +0000
committerstephan <stephan@noemail.net>2022-11-01 07:49:49 +0000
commit49048b148eac5f74eb6f1e9dfbd85ee8f95694a4 (patch)
tree6fcd456e95de58e06c0498c2b271da54051934ac /ext/wasm/api/sqlite3-opfs-async-proxy.js
parentc7dd9b60eb95ebd65e53ed238e77ecfe6247b3b0 (diff)
downloadsqlite-49048b148eac5f74eb6f1e9dfbd85ee8f95694a4.tar.gz
sqlite-49048b148eac5f74eb6f1e9dfbd85ee8f95694a4.zip
Significant cleanups and expansion of the sqlite3.opfs utilities. Add oo1.DB.dbVfsName(). Add VFS name to worker1:open's arguments and result.
FossilOrigin-Name: 86a341d7e061f946b39e8647ddd4743013b851b33ae9e6e755d8dbc53fba5286
Diffstat (limited to 'ext/wasm/api/sqlite3-opfs-async-proxy.js')
-rw-r--r--ext/wasm/api/sqlite3-opfs-async-proxy.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-opfs-async-proxy.js b/ext/wasm/api/sqlite3-opfs-async-proxy.js
index 71c822c1f..3aa20fa63 100644
--- a/ext/wasm/api/sqlite3-opfs-async-proxy.js
+++ b/ext/wasm/api/sqlite3-opfs-async-proxy.js
@@ -377,6 +377,7 @@ const vfsAsyncImpls = {
if(!filenamePart) break;
await hDir.removeEntry(filenamePart, {recursive});
if(0x1234 !== syncDir) break;
+ recursive = false;
filename = getResolvedPath(filename, true);
filename.pop();
filename = filename.join('/');