Basic error checking. Resolve symbols in the aggregate ORDER BY expressions.

FossilOrigin-Name: c83a53a574d312130d1238c05ffa449d8bed2535d5ef5b5d9cf02f894494cca4
This commit is contained in:
drh
2023-10-18 13:58:31 +00:00
parent f8202f1ff3
commit db19f48b69
5 changed files with 54 additions and 11 deletions
+1
View File
@@ -4361,6 +4361,7 @@ expr_code_doover:
assert( !ExprHasVVAProperty(pExpr,EP_Immutable) );
op = pExpr->op;
}
assert( op!=TK_ORDER );
switch( op ){
case TK_AGG_COLUMN: {
AggInfo *pAggInfo = pExpr->pAggInfo;