diff options
author | dan <dan@noemail.net> | 2017-05-01 18:24:01 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2017-05-01 18:24:01 +0000 |
commit | 4b2667c8b87d3fb4a3da8874fb29a5d38926ca7d (patch) | |
tree | 722d558b5c6d3044260a77ce175aba18fdb6719c /src/btree.c | |
parent | 874080bbb6cbf78e91aee3515dbd98acd26f233b (diff) | |
download | sqlite-4b2667c8b87d3fb4a3da8874fb29a5d38926ca7d.tar.gz sqlite-4b2667c8b87d3fb4a3da8874fb29a5d38926ca7d.zip |
Enhance "PRAGMA integrity_check" to detect duplicate rowids within a leaf
page.
FossilOrigin-Name: adcad37b001d255299be716b16003b56ec1fba349ef73261ee0e543186c4f311
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/btree.c b/src/btree.c index 4ba985f93..e5edf44c4 100644 --- a/src/btree.c +++ b/src/btree.c @@ -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 */ |