1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Remove oo1.DB.hasFilename() and getFilename(), as they are unnecessary.

FossilOrigin-Name: 75c546b982024bf2b527c85271111d54158cb010867f6e29fc89e86cc8457cc5
This commit is contained in:
stephan
2022-10-26 11:12:14 +00:00
parent 705d7be62d
commit 14ae1a5331
5 changed files with 12 additions and 33 deletions

View File

@@ -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;