summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorVarun Gupta <varun.gupta@mariadb.com>2020-11-21 04:07:55 +0530
committerVarun Gupta <varun.gupta@mariadb.com>2020-11-21 05:03:19 +0530
commita4b29ac1e6edc9b61ba00a085f55503969153689 (patch)
tree468afc97f12111061e1b5b82432a8fe6f2339615 /sql/item_sum.h
parent1e5533e070c4b7cfcfaabaac936e076f3c732999 (diff)
downloadmariadb-git-10.5-mdev21829-unique-interface.tar.gz
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index e7d86137d8c..9bb07bfda52 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -312,7 +312,6 @@ class Window_spec;
but still return false from Item_sum::const_item().
*/
class Unique_impl;
-class Variable_sized_keys;
class Item_sum :public Item_func_or_sum
{
@@ -682,16 +681,10 @@ class Aggregator_distinct : public Aggregator
*/
bool use_distinct_values;
- /*
- Used to store information about variable sized keys
- @see sql_sort.h for the class definition
- */
- Variable_sized_keys *variable_sized_keys;
-
public:
Aggregator_distinct (Item_sum *sum) :
Aggregator(sum), table(NULL), tmp_table_param(NULL), tree(NULL),
- always_null(false), use_distinct_values(false), variable_sized_keys(NULL) {}
+ always_null(false), use_distinct_values(false) {}
virtual ~Aggregator_distinct ();
Aggregator_type Aggrtype() { return DISTINCT_AGGREGATOR; }
@@ -1919,8 +1912,6 @@ protected:
*/
Item_func_group_concat *original;
- Variable_sized_keys *variable_sized_keys;
-
/*
Used by Item_func_group_concat and Item_func_json_arrayagg. The latter
needs null values but the former doesn't.