diff options
Diffstat (limited to 'ext/wasm/sqlite3-opfs-async-proxy.js')
-rw-r--r-- | ext/wasm/sqlite3-opfs-async-proxy.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/wasm/sqlite3-opfs-async-proxy.js b/ext/wasm/sqlite3-opfs-async-proxy.js index 634659c73..73bfad9d8 100644 --- a/ext/wasm/sqlite3-opfs-async-proxy.js +++ b/ext/wasm/sqlite3-opfs-async-proxy.js @@ -60,6 +60,7 @@ const logImpl = (level,...args)=>{ const log = (...args)=>logImpl(2, ...args); const warn = (...args)=>logImpl(1, ...args); const error = (...args)=>logImpl(0, ...args); +const metrics = Object.create(null); warn("This file is very much experimental and under construction.", self.location.pathname); @@ -220,7 +221,7 @@ const vfsAsyncImpls = { let sz; try{ sz = await fh.accessHandle.getSize(); - fh.sabViewFileSize.setBigInt64(0, BigInt(sz)); + fh.sabViewFileSize.setBigInt64(0, BigInt(sz), true); sz = 0; }catch(e){ error("xFileSize():",e, fh); |