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-sahpool.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-sahpool.c-pp.js')
-rw-r--r-- | ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js index 1d2b39589..327b6a95a 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js @@ -927,7 +927,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ this.setAssociatedPath(sah, '', 0); toss("Expected to write "+n+" bytes but wrote "+nWrote+"."); }else{ - sah.write(new Uint8Array([0,0]), {at: HEADER_OFFSET_DATA+18} + sah.write(new Uint8Array([1,1]), {at: HEADER_OFFSET_DATA+18} /* force db out of WAL mode */); this.setAssociatedPath(sah, name, capi.SQLITE_OPEN_MAIN_DB); } |