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:
+2
-2
@@ -3049,10 +3049,10 @@ struct Expr {
|
||||
** EP_Unlikely: 134217728 times likelihood
|
||||
** TK_IN: ephemeral table holding RHS
|
||||
** TK_SELECT_COLUMN: Number of columns on the LHS
|
||||
** TK_SELECT: 1st register of result vector
|
||||
** TK_FUNCTION: Uses ordered-set aggregate syntax */
|
||||
** TK_SELECT: 1st register of result vector */
|
||||
ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.
|
||||
** TK_VARIABLE: variable number (always >= 1).
|
||||
** TK_FUNCTION: Uses ordered-set aggregate syntax
|
||||
** TK_SELECT_COLUMN: column of the result vector */
|
||||
i16 iAgg; /* Which entry in pAggInfo->aCol[] or ->aFunc[] */
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user