mirror of
https://github.com/sqlite/sqlite.git
synced 2025-10-21 11:13:54 +03:00
Fix an off-by-one error in sqlite3_rsync.
[forum:/info/46753431d4|Forum post 46753431d4]. FossilOrigin-Name: ef3b7be6f2037871f6f1b1944fed3dda28216e7f179080d3be2e2620c031f48c
This commit is contained in:
@@ -1854,7 +1854,7 @@ static void replicaSide(SQLiteRsync *p){
|
||||
nRPage);
|
||||
}else{
|
||||
runSql(p,"INSERT INTO sendHash VALUES(1,1)");
|
||||
subdivideHashRange(p, 2, nRPage);
|
||||
subdivideHashRange(p, 2, nRPage-1);
|
||||
}
|
||||
sendHashMessages(p, 1, 1);
|
||||
runSql(p, "PRAGMA writable_schema=ON");
|
||||
|
Reference in New Issue
Block a user