aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/api')
-rw-r--r--ext/wasm/api/sqlite3-vfs-opfs-sahpool.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.js b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.js
index 1f026c7cc..fc088c419 100644
--- a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.js
+++ b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.js
@@ -999,18 +999,18 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
//log("vfs list:",capi.sqlite3_js_vfs_list());
if(sqlite3.oo1){
const oo1 = sqlite3.oo1;
- const OpfsthePoolDb = function(...args){
+ const OpfsSAHPoolDb = function(...args){
const opt = oo1.DB.dbCtorHelper.normalizeArgs(...args);
opt.vfs = opfsVfs.$zName;
oo1.DB.dbCtorHelper.call(this, opt);
};
- OpfsthePoolDb.prototype = Object.create(oo1.DB.prototype);
- OpfsthePoolDb.PoolUtil = poolUtil;
- if(!oo1.OpfsthePoolDb){
- oo1.OpfsthePoolDb = Object.create(null);
- oo1.OpfsthePoolDb.default = OpfsthePoolDb;
+ OpfsSAHPoolDb.prototype = Object.create(oo1.DB.prototype);
+ OpfsSAHPoolDb.PoolUtil = poolUtil;
+ if(!oo1.OpfsSAHPool){
+ oo1.OpfsSAHPool = Object.create(null);
+ oo1.OpfsSAHPool.default = OpfsSAHPoolDb;
}
- oo1.OpfsthePoolDb[vfsName] = OpfsthePoolDb;
+ oo1.OpfsSAHPool[vfsName] = OpfsSAHPoolDb;
oo1.DB.dbCtorHelper.setVfsPostOpenSql(
opfsVfs.pointer,
function(oo1Db, sqlite3){