Add error checking: Do not allow functions other than those in the

percentile extension to use the ordered-set aggregate notation.

FossilOrigin-Name: 317d901429303340290334dbe7680a36339df0a50b586e3f71b6c5e5eba6d411
This commit is contained in:
drh
2024-08-31 22:22:24 +00:00
parent a239ece378
commit df2d14b86e
8 changed files with 33 additions and 25 deletions
+1 -1
View File
@@ -1204,7 +1204,7 @@ expr(A) ::= idj(X) LP STAR RP. {
pFuncname);
}
pExpr = sqlite3ExprFunction(pParse, p, pFuncname, 0);
if( pExpr ) pExpr->iTable = 1;
if( pExpr ) pExpr->iColumn = 1;
return pExpr;
}
}