summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-09-07 21:38:27 -0700
committerunknown <igor@rurik.mysql.com>2005-09-07 21:38:27 -0700
commitc2c2adfdfd7471d18c6258d258ac71b8667d3411 (patch)
tree952031e4506e0e149ba3fe06626291fd6481ab5d /sql/item_sum.h
parentf56d8901ece30131dd78bbc6c9f956a6035d954b (diff)
downloadmariadb-git-c2c2adfdfd7471d18c6258d258ac71b8667d3411.tar.gz
item_sum.cc, item_sum.h:
Post-merge fix. sql/item_sum.h: Post-merge fix. sql/item_sum.cc: Post-merge fix.
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h28
1 files changed, 3 insertions, 25 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index a1a232c4308..87cc248e5e4 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -881,6 +881,7 @@ class Item_func_group_concat : public Item_sum
bool distinct;
bool warning_for_row;
bool always_null;
+ bool no_appended;
/*
Following is 0 normal object and pointer to original one for copy
(to correctly free resources)
@@ -898,29 +899,6 @@ class Item_func_group_concat : public Item_sum
element_count count __attribute__((unused)),
Item_func_group_concat *group_concat_item);
- public:
- String result;
- String *separator;
- TREE tree_base;
- TREE *tree;
- TABLE *table;
- ORDER **order;
- TABLE_LIST *tables_list;
- ulong group_concat_max_len;
- uint arg_count_order;
- uint arg_count_field;
- uint field_list_offset;
- uint count_cut_values;
- bool no_appended;
- /*
- Following is 0 normal object and pointer to original one for copy
- (to correctly free resources)
- */
- Item_func_group_concat *original;
-
- Item_func_group_concat(bool is_distinct,List<Item> *is_select,
- SQL_LIST *is_order,String *is_separator);
-
public:
Item_func_group_concat(Name_resolution_context *context_arg,
bool is_distinct, List<Item> *is_select,
@@ -935,8 +913,8 @@ public:
virtual Item_result result_type () const { return STRING_RESULT; }
void clear();
bool add();
- void reset_field() {} // not used
- void update_field() {} // not used
+ void reset_field() { DBUG_ASSERT(0); } // not used
+ void update_field() { DBUG_ASSERT(0); } // not used
bool fix_fields(THD *,Item **);
bool setup(THD *thd);
void make_unique();