aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-opfs.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-21 04:12:38 +0000
committerstephan <stephan@noemail.net>2022-11-21 04:12:38 +0000
commit36d5554c9abaa3080e85e3b7b517605c6106587d (patch)
treea4fc23360bf7aaa42ef7f6dcd669624a2bece552 /ext/wasm/api/sqlite3-api-opfs.js
parent27c4cd183d91d09e34e310d6349cda2b33c255ba (diff)
downloadsqlite-36d5554c9abaa3080e85e3b7b517605c6106587d.tar.gz
sqlite-36d5554c9abaa3080e85e3b7b517605c6106587d.zip
Resolve missing SQLITE_LOCKED result code which triggered a new (since last checkin) exception in the OPFS VFS. Improve output of the OPFS contention tester app.
FossilOrigin-Name: 2debbbca33bd4170a1dc4dbb5eb3e68523e51d289b06c551e5560ac4e32e433b
Diffstat (limited to 'ext/wasm/api/sqlite3-api-opfs.js')
-rw-r--r--ext/wasm/api/sqlite3-api-opfs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-api-opfs.js b/ext/wasm/api/sqlite3-api-opfs.js
index 1fd50dcc6..deb4c923a 100644
--- a/ext/wasm/api/sqlite3-api-opfs.js
+++ b/ext/wasm/api/sqlite3-api-opfs.js
@@ -343,6 +343,7 @@ const installOpfsVfs = function callee(options){
'SQLITE_LOCK_PENDING',
'SQLITE_LOCK_RESERVED',
'SQLITE_LOCK_SHARED',
+ 'SQLITE_LOCKED',
'SQLITE_MISUSE',
'SQLITE_NOTFOUND',
'SQLITE_OPEN_CREATE',