aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <>2024-04-07 10:30:29 +0000
committerdrh <>2024-04-07 10:30:29 +0000
commit660322f96f2947b5b8cdefafed564075e026d5bc (patch)
tree0eadd615a8f68ec8e5c0084d797594d53c479a79 /src/expr.c
parent6951c4977976ddca0b9e4ce75e79fc69c44dfd77 (diff)
parent05c6d13027db5e2f8dd6311fd6520e1ca0e7bdb9 (diff)
downloadsqlite-660322f96f2947b5b8cdefafed564075e026d5bc.tar.gz
sqlite-660322f96f2947b5b8cdefafed564075e026d5bc.zip
Merge trunk enhancements into the pushdown-subquery branch.
FossilOrigin-Name: 27865e316f8dfbf4c20290cf1be3024d7518fec46655e34f3fc435e15346c63e
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index 0ccb39cc6..2257422b8 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -5068,8 +5068,9 @@ expr_code_doover:
if( !ExprHasProperty(pExpr, EP_Collate) ){
/* A TK_COLLATE Expr node without the EP_Collate tag is a so-called
** "SOFT-COLLATE" that is added to constraints that are pushed down
- ** from outer queries into sub-queries by the push-down optimization.
- ** Clear subtypes as subtypes may not cross a subquery boundary.
+ ** from outer queries into sub-queries by the WHERE-clause push-down
+ ** optimization. Clear subtypes as subtypes may not cross a subquery
+ ** boundary.
*/
assert( pExpr->pLeft );
sqlite3ExprCode(pParse, pExpr->pLeft, target);