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

Enhance "PRAGMA integrity_check" to detect duplicate rowids within a leaf

page.

FossilOrigin-Name: adcad37b001d255299be716b16003b56ec1fba349ef73261ee0e543186c4f311
This commit is contained in:
dan
2017-05-01 18:24:01 +00:00
parent 874080bbb6
commit 4b2667c8b8
3 changed files with 8 additions and 7 deletions

View File

@@ -9315,6 +9315,7 @@ static int checkTreePage(
checkAppendMsg(pCheck, "Rowid %lld out of order", info.nKey);
}
maxKey = info.nKey;
keyCanBeEqual = 0; /* Only the first key on the page may ==maxKey */
}
/* Check the content overflow list */