diff options
author | stephan <stephan@noemail.net> | 2023-09-01 11:10:09 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-09-01 11:10:09 +0000 |
commit | dba0ceea60297cde5d71d67ab03efca0c3277757 (patch) | |
tree | f8907aaa27fba86904115486e325847902b7373a /ext/wasm/api/sqlite3-vfs-opfs.c-pp.js | |
parent | f551aa4e8013e65a9c248510e8724e15f952607c (diff) | |
download | sqlite-dba0ceea60297cde5d71d67ab03efca0c3277757.tar.gz sqlite-dba0ceea60297cde5d71d67ab03efca0c3277757.zip |
Second half of [1c532e80].
FossilOrigin-Name: 8ca1d815a57be1fade59fb8ea5705c27b10294e4959c8a9c624f1623df6a5f63
Diffstat (limited to 'ext/wasm/api/sqlite3-vfs-opfs.c-pp.js')
-rw-r--r-- | ext/wasm/api/sqlite3-vfs-opfs.c-pp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js index 4525ef548..af89f216f 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js @@ -1255,7 +1255,7 @@ const installOpfsVfs = function callee(options){ if(nWrote != n){ toss("Expected to write "+n+" bytes but wrote "+nWrote+"."); } - sah.write(new Uint8Array(2), {at: 18}) /* force db out of WAL mode */; + sah.write(new Uint8Array([1,1]), {at: 18}) /* force db out of WAL mode */; return nWrote; }catch(e){ if( sah ){ await sah.close(); sah = undefined; } |