opt: the address maybe not ordered

should not use equal( == ) comparision
This commit is contained in:
YiFang Xiao 2023-12-06 14:40:17 +08:00
parent 9c5e25971b
commit df594e0108

View file

@ -116,8 +116,9 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell
for ( auto const & address : offsets ) {
indexedDoc++;
if ( address > lastAddress && skip ) {
if ( address == lastAddress && skip ) {
skip = false;
continue;
}
//skip until to the lastAddress;
if ( skip ) {