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:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user