The IN-early-out optimization: When doing a look-up on a multi-column index
commitc406d23dd6af8e4ce5ddb2825c7b91d27538c4af
authorD. Richard Hipp <drh@hwaci.com>
Thu, 7 Jun 2018 18:13:49 +0000 (7 18:13 +0000)
committerD. Richard Hipp <drh@hwaci.com>
Thu, 7 Jun 2018 18:13:49 +0000 (7 18:13 +0000)
tree941e9be4fc15bc0e49ea9952f0be09f85a8524cd
parent85deb62cf796b078b9d9b2ee90f9e0e7223a06e9
parent8dab0aad7e7cd859e393ff295ab1dd9a04e33a88
The IN-early-out optimization:  When doing a look-up on a multi-column index
and an IN operator is used on a column other than the left-most column, then
if no rows match against the first IN value, check to make sure there exist
rows that match the columns to the right before continuing with the next IN
value.