aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2024-08-31 22:22:24 +0000
committerdrh <>2024-08-31 22:22:24 +0000
commitdf2d14b86e8d6d990ed9d5dd5b620fed5ece6adc (patch)
tree5bc5eda45419c2f81f6b005179c52ee9ad979e85 /src/sqliteInt.h
parenta239ece3781403dd43d0f4db048741a2c8184f37 (diff)
downloadsqlite-df2d14b86e8d6d990ed9d5dd5b620fed5ece6adc.tar.gz
sqlite-df2d14b86e8d6d990ed9d5dd5b620fed5ece6adc.zip
Add error checking: Do not allow functions other than those in the
percentile extension to use the ordered-set aggregate notation. FossilOrigin-Name: 317d901429303340290334dbe7680a36339df0a50b586e3f71b6c5e5eba6d411
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index dcadec78d..b77f035e7 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -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 {