diff options
author | drh <drh@noemail.net> | 2013-08-15 14:27:42 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-08-15 14:27:42 +0000 |
commit | 26080d924120b24cdc93cd7ab84b98129a68f475 (patch) | |
tree | e4052f16b357a0a13f4a3fe1b39626fd11a89351 /src/resolve.c | |
parent | 3dfaf6766c93993a897c3ee38d59a4b3a42c3a30 (diff) | |
download | sqlite-26080d924120b24cdc93cd7ab84b98129a68f475.tar.gz sqlite-26080d924120b24cdc93cd7ab84b98129a68f475.zip |
Clarification and typo fixes in comments related to name resolution.
No changes to code.
FossilOrigin-Name: f30abdf9d814d6c75bf1c803054737c737ad636f
Diffstat (limited to 'src/resolve.c')
-rw-r--r-- | src/resolve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve.c b/src/resolve.c index a194a2655..d5517003b 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -1009,7 +1009,7 @@ int sqlite3ResolveOrderGroupBy( ** If the order-by term is an integer I between 1 and N (where N is the ** number of columns in the result set of the SELECT) then the expression ** in the resolution is a copy of the I-th result-set expression. If -** the order-by term is an identify that corresponds to the AS-name of +** the order-by term is an identifier that corresponds to the AS-name of ** a result-set expression, then the term resolves to a copy of the ** result-set expression. Otherwise, the expression is resolved in ** the usual way - using sqlite3ResolveExprNames(). @@ -1187,7 +1187,7 @@ static int resolveSelectStep(Walker *pWalker, Select *p){ return WRC_Abort; } - /* Add the expression list to the name-context before parsing the + /* Add the output column list to the name-context before parsing the ** other expressions in the SELECT statement. This is so that ** expressions in the WHERE clause (etc.) can refer to expressions by ** aliases in the result set. |