1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Fix a problem with renaming tables when the schema contains an invocation of a currently unregistered aggregate with a FILTER clause.

FossilOrigin-Name: bd37ce3fb8dee8d538f6afc0bfc13cdc3ebdd504e6461f0130c6ecc8af585f68
This commit is contained in:
dan
2019-07-22 11:38:43 +00:00
parent 7fc296aa66
commit 1e60261cfb
4 changed files with 25 additions and 10 deletions

View File

@@ -892,7 +892,7 @@ static int resolveExprStep(Walker *pWalker, Expr *pExpr){
}
}
#ifndef SQLITE_OMIT_WINDOWFUNC
else if( pWin ){
else if( ExprHasProperty(pExpr, EP_WinFunc) ){
is_agg = 1;
}
#endif