aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2022-04-11 11:59:25 +0000
committerdrh <>2022-04-11 11:59:25 +0000
commitb77c07a715dacfb4ffa968c6ac26ac46bf18776c (patch)
tree3cda297da10fa48490366f5dc12abee8d2f2cc88 /src
parent189c0659421c87519b4c7715ae7ebcef5b85fad7 (diff)
downloadsqlite-b77c07a715dacfb4ffa968c6ac26ac46bf18776c.tar.gz
sqlite-b77c07a715dacfb4ffa968c6ac26ac46bf18776c.zip
Fix some comments that refer to LEFT JOIN that should refer to OUTER JOIN.
No changes to code. FossilOrigin-Name: 5be5ede5cca1cd5ef863fe0feb2b4a990f4a42865281a6c2e4eb816f48847dc6
Diffstat (limited to 'src')
-rw-r--r--src/expr.c4
-rw-r--r--src/select.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/expr.c b/src/expr.c
index 2c00bb498..fcef002f2 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -2179,7 +2179,7 @@ Expr *sqlite3ExprSimplifiedAndOr(Expr *pExpr){
static int exprNodeIsConstant(Walker *pWalker, Expr *pExpr){
/* If pWalker->eCode is 2 then any term of the expression that comes from
- ** the ON or USING clauses of a left join disqualifies the expression
+ ** the ON or USING clauses of an outer join disqualifies the expression
** from being considered constant. */
if( pWalker->eCode==2 && ExprHasProperty(pExpr, EP_FromJoin) ){
pWalker->eCode = 0;
@@ -5817,7 +5817,7 @@ static int impliesNotNullRow(Walker *pWalker, Expr *pExpr){
** in an incorrect answer.
**
** Terms of p that are marked with EP_FromJoin (and hence that come from
-** the ON or USING clauses of LEFT JOINS) are excluded from the analysis.
+** the ON or USING clauses of OUTER JOINS) are excluded from the analysis.
**
** This routine is used to check if a LEFT JOIN can be converted into
** an ordinary JOIN. The p argument is the WHERE clause. If the WHERE
diff --git a/src/select.c b/src/select.c
index 1c929d0b9..3e4f783a3 100644
--- a/src/select.c
+++ b/src/select.c
@@ -408,7 +408,7 @@ static void addWhereTerm(
** expression.
**
** The EP_FromJoin property is used on terms of an expression to tell
-** the LEFT OUTER JOIN processing logic that this term is part of the
+** the OUTER JOIN processing logic that this term is part of the
** join restriction specified in the ON or USING clause and not a part
** of the more general WHERE clause. These terms are moved over to the
** WHERE clause during join processing but we need to remember that they