diff options
author | stephan <stephan@noemail.net> | 2022-10-26 11:12:14 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-10-26 11:12:14 +0000 |
commit | 14ae1a533160e0510f33e408b4f17c66f71e2bd7 (patch) | |
tree | 6f1a69286fa97368392aff509294ca496e18bc32 /ext/wasm/api/sqlite3-api-worker1.js | |
parent | 705d7be62dad956dac8c21856f5e93ee9156eb82 (diff) | |
download | sqlite-14ae1a533160e0510f33e408b4f17c66f71e2bd7.tar.gz sqlite-14ae1a533160e0510f33e408b4f17c66f71e2bd7.zip |
Remove oo1.DB.hasFilename() and getFilename(), as they are unnecessary.
FossilOrigin-Name: 75c546b982024bf2b527c85271111d54158cb010867f6e29fc89e86cc8457cc5
Diffstat (limited to 'ext/wasm/api/sqlite3-api-worker1.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-worker1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-worker1.js b/ext/wasm/api/sqlite3-api-worker1.js index dea06341a..748ce4c6f 100644 --- a/ext/wasm/api/sqlite3-api-worker1.js +++ b/ext/wasm/api/sqlite3-api-worker1.js @@ -366,7 +366,7 @@ sqlite3.initWorker1API = function(){ close: function(db,alsoUnlink){ if(db){ delete this.dbs[getDbId(db)]; - const filename = db.getFilename(); + const filename = db.filename; const pVfs = sqlite3.capi.wasm.sqlite3_wasm_db_vfs(db.pointer, 0); db.close(); if(db===this.defaultDb) this.defaultDb = undefined; |