1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix a problem causing spurious SQLITE_CORRUPT errors when using the snapshot

API to read from old database snapshots.

FossilOrigin-Name: 535155be584ad8c1836e6b1c62de836d9872056d39608c995221c928cb5b365d
This commit is contained in:
dan
2018-08-28 11:23:52 +00:00
parent 5965fed24e
commit f5778751f7
4 changed files with 85 additions and 9 deletions

View File

@@ -2798,6 +2798,7 @@ int sqlite3WalBeginReadTransaction(Wal *pWal, int *pChanged){
/* Release the shared CKPT lock obtained above. */
walUnlockShared(pWal, WAL_CKPT_LOCK);
pWal->minFrame = 1;
}