aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2023-07-15 19:08:58 +0000
committerstephan <stephan@noemail.net>2023-07-15 19:08:58 +0000
commit38d1db9b79ac1f89d2e97cb35d0de3df330c1f32 (patch)
tree70d0ad6aaf761dfbf9265c1b3d4d297e6dceaef3 /ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
parenteadabc65132e65f45a280720e9fd64cccc0a22c2 (diff)
downloadsqlite-38d1db9b79ac1f89d2e97cb35d0de3df330c1f32.tar.gz
sqlite-38d1db9b79ac1f89d2e97cb35d0de3df330c1f32.zip
Correct opfs-sahpool VFS after the pebkac involving the previous speedtest1 runs. Make that VFS explicitly opt-in to avoid certain unfortunate locking situations.
FossilOrigin-Name: 41bf1fe31f2f3d0daa2bac25dc57262a4b90f22fed6fa97e4e92467c32ae02dc
Diffstat (limited to 'ext/wasm/api/sqlite3-vfs-opfs.c-pp.js')
-rw-r--r--ext/wasm/api/sqlite3-vfs-opfs.c-pp.js1
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 40c6090bf..c7a752441 100644
--- a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
+++ b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
@@ -236,6 +236,7 @@ const installOpfsVfs = function callee(options){
? new sqlite3_vfs(pDVfs)
: null /* dVfs will be null when sqlite3 is built with
SQLITE_OS_OTHER. */;
+ opfsIoMethods.$iVersion = 1;
opfsVfs.$iVersion = 2/*yes, two*/;
opfsVfs.$szOsFile = capi.sqlite3_file.structInfo.sizeof;
opfsVfs.$mxPathname = 1024/*sure, why not?*/;