aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-07-27 19:20:58 +0000
committerdrh <drh@noemail.net>2016-07-27 19:20:58 +0000
commite604ec0be02b4e550883c0998c5872a2ba2459ce (patch)
tree60eff4aab4055e1a7464a8c5c25f24123916ed16 /src/expr.c
parent2409f8a11232ff4e2999168f01e954502f189f02 (diff)
downloadsqlite-e604ec0be02b4e550883c0998c5872a2ba2459ce.tar.gz
sqlite-e604ec0be02b4e550883c0998c5872a2ba2459ce.zip
Add test cases and fix a comment.
FossilOrigin-Name: 50f8ea37fb9647c4a9da2c269a4d6f54b10ce96b
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/expr.c b/src/expr.c
index c027cf02a..c6d74cfd3 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -3994,10 +3994,10 @@ static int exprIdxCover(Walker *pWalker, Expr *pExpr){
}
/*
-** Determine if an index on table iCur that contains the columns in
-** Bitmask m will cover the expression pExpr. Return true if the index
-** does cover the expression and false if the expression references
-** table columns that are not found in the index.
+** Determine if an index pIdx on table with cursor iCur contains will
+** the expression pExpr. Return true if the index does cover the
+** expression and false if the pExpr expression references table columns
+** that are not found in the index pIdx.
**
** An index covering an expression means that the expression can be
** evaluated using only the index and without having to lookup the