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

Minor cleanups in the opfs-sahpool VFS.

FossilOrigin-Name: 279e09070918dab7b60c39179ebb7eb931ca6bd4e589b414f436740499a2f910
This commit is contained in:
stephan
2023-07-15 21:08:48 +00:00
parent 38d1db9b79
commit 28d46cce0b
4 changed files with 18 additions and 25 deletions

View File

@@ -107,10 +107,8 @@
const S = globalThis.S = sqlite3;
log("Loaded speedtest1 module. Setting up...");
if(S.installOpfsSAHPoolVfs){
await S.installOpfsSAHPoolVfs().then(()=>{
log("Loaded SAHPool.");
}).catch(e=>{
logErr("Error setting up SAHPool:",e.message);
await S.installOpfsSAHPoolVfs().catch(e=>{
logErr("Error setting up opfs-sahpool:",e.message);
});
}
App.vfsUnlink = function(pDb, fname){