aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-06-01 18:13:16 +0000
committerdrh <drh@noemail.net>2015-06-01 18:13:16 +0000
commitfcb9f4f3caa92fa042a988fa19d99ade66382287 (patch)
tree3b66b0356f3b01cc92e975904613fb3cfecf4507 /src/expr.c
parent5fea98585190ff8ef37710d62980bcaff97cb9fb (diff)
downloadsqlite-fcb9f4f3caa92fa042a988fa19d99ade66382287.tar.gz
sqlite-fcb9f4f3caa92fa042a988fa19d99ade66382287.zip
Corrections to comments in expr.c. No code changes.
FossilOrigin-Name: f925389eaf5bf8962a28fcaa652b75caa606efba
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index 7e27ba99f..6c22f75d0 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -1268,7 +1268,7 @@ u32 sqlite3ExprListFlags(const ExprList *pList){
**
** sqlite3ExprIsConstant() pWalker->eCode==1
** sqlite3ExprIsConstantNotJoin() pWalker->eCode==2
-** sqlite3ExprRefOneTableOnly() pWalker->eCode==3
+** sqlite3ExprIsTableConstant() pWalker->eCode==3
** sqlite3ExprIsConstantOrFunction() pWalker->eCode==4 or 5
**
** In all cases, the callbacks set Walker.eCode=0 and abort if the expression
@@ -1376,7 +1376,7 @@ int sqlite3ExprIsConstantNotJoin(Expr *p){
}
/*
-** Walk an expression tree. Return non-zero if the expression constant
+** Walk an expression tree. Return non-zero if the expression is constant
** for any single row of the table with cursor iCur. In other words, the
** expression must not refer to any non-deterministic function nor any
** table other than iCur.