aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-worker1.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-29 07:54:10 +0000
committerstephan <stephan@noemail.net>2022-10-29 07:54:10 +0000
commit8948fbee29f8860ff6d116eaa66626ff11ab8064 (patch)
tree8b2a9b8faa122a7134e2b28485d9126f964763df /ext/wasm/api/sqlite3-api-worker1.js
parent053bb22f35c5dd153a62158ed2cc6376b5979212 (diff)
downloadsqlite-8948fbee29f8860ff6d116eaa66626ff11ab8064.tar.gz
sqlite-8948fbee29f8860ff6d116eaa66626ff11ab8064.zip
Move the sqlite3.capi.wasm namespace to sqlite3.wasm. This causes a tiny bit of naming confusion with the sqlite3.wasm *file*, but seems to make more sense than having it as a sub-namespace of capi.
FossilOrigin-Name: 3f16eb18d6186ca972fca952ccac18649e7a905213f589e53c0c9333e695448d
Diffstat (limited to 'ext/wasm/api/sqlite3-api-worker1.js')
-rw-r--r--ext/wasm/api/sqlite3-api-worker1.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wasm/api/sqlite3-api-worker1.js b/ext/wasm/api/sqlite3-api-worker1.js
index 748ce4c6f..1e8048159 100644
--- a/ext/wasm/api/sqlite3-api-worker1.js
+++ b/ext/wasm/api/sqlite3-api-worker1.js
@@ -367,11 +367,11 @@ sqlite3.initWorker1API = function(){
if(db){
delete this.dbs[getDbId(db)];
const filename = db.filename;
- const pVfs = sqlite3.capi.wasm.sqlite3_wasm_db_vfs(db.pointer, 0);
+ const pVfs = sqlite3.wasm.sqlite3_wasm_db_vfs(db.pointer, 0);
db.close();
if(db===this.defaultDb) this.defaultDb = undefined;
if(alsoUnlink && filename && pVfs){
- sqlite3.capi.wasm.sqlite3_wasm_vfs_unlink(pVfs, filename);
+ sqlite3.wasm.sqlite3_wasm_vfs_unlink(pVfs, filename);
}
}
},