diff options
author | Varun Gupta <varunraiko1803@gmail.com> | 2018-03-28 11:24:35 +0530 |
---|---|---|
committer | Varun Gupta <varunraiko1803@gmail.com> | 2018-03-28 11:24:35 +0530 |
commit | d60e5c2a46bab659e60cb067ddad6050b168fb44 (patch) | |
tree | 6c71cebc6d2843ea567473563e804a768c8955e6 /sql/sql_select.cc | |
parent | 068450a3828a7ed678081fb57f63950d0828c430 (diff) | |
download | mariadb-git-10.3-MDEV-14592.tar.gz |
MDEV-14592: Custom Aggregates Usage Status Variable10.3-MDEV-14592
Introduced new status variable for custom aggregate functions
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 0b706f78452..baa4f5caf12 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -3255,6 +3255,8 @@ bool JOIN::make_aggr_tables_info() /* Count that we're using window functions. */ status_var_increment(thd->status_var.feature_window_functions); } + if (select_lex->custom_agg_func_used()) + status_var_increment(thd->status_var.feature_custom_aggregate_functions); fields= curr_fields_list; // Reset before execution |