Fix a problem with fts5 doclist-indexes that occured if the first rowid of the first non-term page of a doclist is zero.

FossilOrigin-Name: f704bc059e06b01f1d68fa7dad89e33eace6c389
This commit is contained in:
dan
2015-01-27 20:41:00 +00:00
parent 8ac3025419
commit 900f1922ac
6 changed files with 109 additions and 76 deletions
+2 -1
View File
@@ -185,9 +185,10 @@ for {set i 1} {$i <= 10} {incr i} {
}
execsql { INSERT INTO t1(t1) VALUES('integrity-check'); }
} {}
if {$i==2} break
# if {$i==1} break
}
#db eval {SELECT rowid, fts5_decode(rowid, block) aS r FROM t1_data} {puts $r}
#exit
#-------------------------------------------------------------------------
#