You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported here by @subframe7536, a direct call to IDBMirrorVFS.jTruncate() without a preceding call to jWrite() fails because there is no active transaction. This isn't expected to be encountered when the VFS is called from SQLite because the updated page count will be written to page 0, but the file demo does make a call this way.
The proposed fix is to create an active transaction in jTruncate() as well as jWrite().
As reported here by @subframe7536, a direct call to
IDBMirrorVFS.jTruncate()
without a preceding call tojWrite()
fails because there is no active transaction. This isn't expected to be encountered when the VFS is called from SQLite because the updated page count will be written to page 0, but the file demo does make a call this way.The proposed fix is to create an active transaction in
jTruncate()
as well asjWrite()
.This bug is also present in OPFSPermutedVFS.
The text was updated successfully, but these errors were encountered: