diff options
author | stephan <stephan@noemail.net> | 2022-11-29 06:09:32 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-11-29 06:09:32 +0000 |
commit | ceedef888f38d172c203b1c7bf5265f4ee608640 (patch) | |
tree | 7d0c6da0ff60082a1269453fc361c45e52652314 /ext/wasm/api/sqlite3-api-opfs.js | |
parent | 04184761de820ac763036157ff07b2f22a89db77 (diff) | |
download | sqlite-ceedef888f38d172c203b1c7bf5265f4ee608640.tar.gz sqlite-ceedef888f38d172c203b1c7bf5265f4ee608640.zip |
Minor internal cleanups and docs in the OPFS sqlite3_vfs.
FossilOrigin-Name: 61799b05ff232c2ac349169c27bfe7f8d9277366093b0c9dd2739828993b3066
Diffstat (limited to 'ext/wasm/api/sqlite3-api-opfs.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-opfs.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-opfs.js b/ext/wasm/api/sqlite3-api-opfs.js index cef15305d..de7500afa 100644 --- a/ext/wasm/api/sqlite3-api-opfs.js +++ b/ext/wasm/api/sqlite3-api-opfs.js @@ -290,7 +290,9 @@ const installOpfsVfs = function callee(options){ The size of the block in our SAB for serializing arguments and result values. Needs to be large enough to hold serialized values of any of the proxied APIs. Filenames are the largest - part but are limited to opfsVfs.$mxPathname bytes. + part but are limited to opfsVfs.$mxPathname bytes. We also + store exceptions there, so it needs to be long enough to hold + a reasonably long exception string. */ state.sabS11nSize = opfsVfs.$mxPathname * 2; /** |