diff options
author | drh <> | 2023-10-18 22:03:48 +0000 |
---|---|---|
committer | drh <> | 2023-10-18 22:03:48 +0000 |
commit | 20b95f8d3fc34d6fe8a049a3b2abebefce12eea1 (patch) | |
tree | 47c33c69ce9333c42eeff43e6af35ff2d5a3957e /src/sqliteInt.h | |
parent | 49dc1be96f76ce01325cdb2d8b475f25a51f3605 (diff) | |
download | sqlite-20b95f8d3fc34d6fe8a049a3b2abebefce12eea1.tar.gz sqlite-20b95f8d3fc34d6fe8a049a3b2abebefce12eea1.zip |
Make sure all terms of the ORDER BY within an aggregate go through aggregate
analysis. Do not attach an aggregate ORDER BY to a window function.
FossilOrigin-Name: 16f3805514a741405f70e0ee3b5a6b67720bc75719372e82daa4136fe411ea2b
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index cb90fba4a..4becf9222 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -4790,6 +4790,7 @@ Expr *sqlite3ExprAnd(Parse*,Expr*, Expr*); Expr *sqlite3ExprSimplifiedAndOr(Expr*); Expr *sqlite3ExprFunction(Parse*,ExprList*, const Token*, int); void sqlite3ExprAddFunctionOrderBy(Parse*,Expr*,ExprList*); +void sqlite3ExprOrderByAggregateError(Parse*,Expr*); void sqlite3ExprFunctionUsable(Parse*,const Expr*,const FuncDef*); void sqlite3ExprAssignVarNumber(Parse*, Expr*, u32); void sqlite3ExprDelete(sqlite3*, Expr*); |