diff options
author | stephan <stephan@noemail.net> | 2024-06-12 22:15:25 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-06-12 22:15:25 +0000 |
commit | 709cb313cf7b2da986ec2c0ca6510147ac702538 (patch) | |
tree | a3a64481a47cd27d79d6ac67aa1b87a4005c4fc9 /ext/wasm/api/sqlite3-vfs-opfs.c-pp.js | |
parent | 063a2b338c8bf6c7dd4c156c629f26250c60ffe9 (diff) | |
download | sqlite-709cb313cf7b2da986ec2c0ca6510147ac702538.tar.gz sqlite-709cb313cf7b2da986ec2c0ca6510147ac702538.zip |
Remove some dead JS code. Improve the exception-to-C-result-code conversion to account for the case of a file disappearing while the OPFS VFS is waiting to acquire a lock on it.
FossilOrigin-Name: 5bd9fd5f61e7cd1ed3b44c5cabc759c154c98eb40ad10d29e61f142aaa062ddf
Diffstat (limited to 'ext/wasm/api/sqlite3-vfs-opfs.c-pp.js')
-rw-r--r-- | ext/wasm/api/sqlite3-vfs-opfs.c-pp.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js index 603a3e474..ee6937c69 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js @@ -390,6 +390,7 @@ const installOpfsVfs = function callee(options){ 'SQLITE_ACCESS_EXISTS', 'SQLITE_ACCESS_READWRITE', 'SQLITE_BUSY', + 'SQLITE_CANTOPEN', 'SQLITE_ERROR', 'SQLITE_IOERR', 'SQLITE_IOERR_ACCESS', |