1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Apply the Bloom filter only on those terms of an index that have equality

constraints.

FossilOrigin-Name: a70429596a3c6a413b03118b0d800521b3526d99dcf88a48acc3189b51518d82
This commit is contained in:
drh
2021-12-04 14:24:30 +00:00
parent 19ce9aafdb
commit 770dade262
4 changed files with 10 additions and 10 deletions

View File

@@ -1845,7 +1845,7 @@ Bitmask sqlite3WhereCodeOneLoopStart(
}
if( pLevel->regFilter ){
sqlite3VdbeAddOp4Int(v, OP_Filter, pLevel->regFilter, addrNxt,
regBase, nConstraint);
regBase, nEq);
}
op = aStartOp[(start_constraints<<2) + (startEq<<1) + bRev];