mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Fix a misworded comment. No code changes.
FossilOrigin-Name: ee0bc7ede0fbf3e54bb934c0d580c62d7393c984cbc374ece6d57fe9211dac26
This commit is contained in:
@@ -4248,10 +4248,9 @@ static int propagateConstantExprRewrite(Walker *pWalker, Expr *pExpr){
|
||||
** The WHERE-clause constant propagation optimization.
|
||||
**
|
||||
** If the WHERE clause contains terms of the form COLUMN=CONSTANT or
|
||||
** CONSTANT=COLUMN that must be tree (in other words, if the terms top-level
|
||||
** AND-connected terms that are not part of a ON clause from a LEFT JOIN)
|
||||
** then throughout the query replace all other occurrences of COLUMN
|
||||
** with CONSTANT within the WHERE clause.
|
||||
** CONSTANT=COLUMN that are top-level AND-connected terms that are not
|
||||
** part of a ON clause from a LEFT JOIN, then throughout the query
|
||||
** replace all other occurrences of COLUMN with CONSTANT.
|
||||
**
|
||||
** For example, the query:
|
||||
**
|
||||
|
||||
Reference in New Issue
Block a user