diff options
author | stephan <stephan@noemail.net> | 2022-09-19 14:56:13 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-09-19 14:56:13 +0000 |
commit | 61418d5a679f11bbf3517431777c14b30252bd75 (patch) | |
tree | 17cff2b91b9048881e067b0662c70f1d37c2e116 /ext/wasm/sqlite3-opfs-async-proxy.js | |
parent | 0e0687ccfc2c898489cdc7ca8116b2dd2a3bcb54 (diff) | |
download | sqlite-61418d5a679f11bbf3517431777c14b30252bd75.tar.gz sqlite-61418d5a679f11bbf3517431777c14b30252bd75.zip |
Remove an obsolete file. Update wasmfs build for today's changes. Fix the case that OPFS.xTruncate() is passed a BigInt instead of a Number.
FossilOrigin-Name: 976053925013bf1975f5f9222e28ba648af28e305bb6bdae600eb24d0e136bec
Diffstat (limited to 'ext/wasm/sqlite3-opfs-async-proxy.js')
-rw-r--r-- | ext/wasm/sqlite3-opfs-async-proxy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/sqlite3-opfs-async-proxy.js b/ext/wasm/sqlite3-opfs-async-proxy.js index 7eb12425c..634659c73 100644 --- a/ext/wasm/sqlite3-opfs-async-proxy.js +++ b/ext/wasm/sqlite3-opfs-async-proxy.js @@ -301,7 +301,7 @@ const vfsAsyncImpls = { const fh = __openFiles[fid]; try{ affirmNotRO('xTruncate', fh); - await fh.accessHandle.truncate(size); + await fh.accessHandle.truncate(Number(size)); }catch(e){ error("xTruncate():",e,fh); rc = state.sq3Codes.SQLITE_IOERR_TRUNCATE; |