aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/batch-runner.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-09-27 13:40:12 +0000
committerstephan <stephan@noemail.net>2022-09-27 13:40:12 +0000
commit5b9973d89849c318b0500de1fa0019181e7bd3c0 (patch)
treef6f34298ed88a7fd6a8c6d80f49c4aaae29b73ee /ext/wasm/batch-runner.js
parent3d64548491f6e95854b843f978a4ada16eff614c (diff)
downloadsqlite-5b9973d89849c318b0500de1fa0019181e7bd3c0.tar.gz
sqlite-5b9973d89849c318b0500de1fa0019181e7bd3c0.zip
WASM API renaming. Reworked JS API bootstrap's async post-init into a generic mechanism, no longer OPFS-specific.
FossilOrigin-Name: c42a8cb090cad1108dfd6be574202d744c59e053b505bc4c17252dc6b65d26bf
Diffstat (limited to 'ext/wasm/batch-runner.js')
-rw-r--r--ext/wasm/batch-runner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/batch-runner.js b/ext/wasm/batch-runner.js
index 7a90ddd13..24e28f6ea 100644
--- a/ext/wasm/batch-runner.js
+++ b/ext/wasm/batch-runner.js
@@ -361,7 +361,7 @@
dbFile = 1 ? 'local' : 'session';
this.logHtml("Using KVVFS storage:",dbFile);
}else{
- pDir = capi.sqlite3_web_persistent_dir();
+ pDir = capi.sqlite3_wasmfs_opfs_dir();
if(pDir){
dbFile = pDir+"/speedtest.db";
this.logHtml("Using persistent storage:",dbFile);