@@ -1982,27 +1982,27 @@ class Item_func_group_concat : public Item_sum
1982
1982
1983
1983
Item_func_group_concat (THD *thd, Item_func_group_concat *item);
1984
1984
~Item_func_group_concat ();
1985
- void cleanup ();
1985
+ void cleanup () override ;
1986
1986
1987
- enum Sumfunctype sum_func () const {return GROUP_CONCAT_FUNC;}
1988
- const char *func_name () const { return " group_concat(" ; }
1989
- const Type_handler *type_handler () const
1987
+ enum Sumfunctype sum_func () const override {return GROUP_CONCAT_FUNC;}
1988
+ const char *func_name () const override { return " group_concat(" ; }
1989
+ const Type_handler *type_handler () const override
1990
1990
{
1991
1991
if (too_big_for_varchar ())
1992
1992
return &type_handler_blob;
1993
1993
return &type_handler_varchar;
1994
1994
}
1995
- void clear ();
1996
- bool add ()
1995
+ void clear () override ;
1996
+ bool add () override
1997
1997
{
1998
1998
return add (skip_nulls ());
1999
1999
}
2000
- void reset_field () { DBUG_ASSERT (0 ); } // not used
2001
- void update_field () { DBUG_ASSERT (0 ); } // not used
2002
- bool fix_fields (THD *,Item **);
2003
- bool setup (THD *thd);
2004
- void make_unique ();
2005
- double val_real ()
2000
+ void reset_field () override { DBUG_ASSERT (0 ); } // not used
2001
+ void update_field () override { DBUG_ASSERT (0 ); } // not used
2002
+ bool fix_fields (THD *,Item **) override ;
2003
+ bool setup (THD *thd) override ;
2004
+ void make_unique () override ;
2005
+ double val_real () override
2006
2006
{
2007
2007
int error;
2008
2008
const char *end;
@@ -2012,7 +2012,7 @@ class Item_func_group_concat : public Item_sum
2012
2012
end= res->ptr () + res->length ();
2013
2013
return (my_strtod (res->ptr (), (char **) &end, &error));
2014
2014
}
2015
- longlong val_int ()
2015
+ longlong val_int () override
2016
2016
{
2017
2017
String *res;
2018
2018
char *end_ptr;
@@ -2022,21 +2022,21 @@ class Item_func_group_concat : public Item_sum
2022
2022
end_ptr= (char *) res->ptr ()+ res->length ();
2023
2023
return my_strtoll10 (res->ptr (), &end_ptr, &error);
2024
2024
}
2025
- my_decimal *val_decimal (my_decimal *decimal_value)
2025
+ my_decimal *val_decimal (my_decimal *decimal_value) override
2026
2026
{
2027
2027
return val_decimal_from_string (decimal_value);
2028
2028
}
2029
- bool get_date (THD *thd, MYSQL_TIME *ltime, date_mode_t fuzzydate)
2029
+ bool get_date (THD *thd, MYSQL_TIME *ltime, date_mode_t fuzzydate) override
2030
2030
{
2031
2031
return get_date_from_string (thd, ltime, fuzzydate);
2032
2032
}
2033
- String* val_str (String* str);
2034
- Item *copy_or_same (THD* thd);
2035
- void no_rows_in_result () {}
2036
- void print (String *str, enum_query_type query_type);
2037
- bool change_context_processor (void *cntx)
2033
+ String* val_str (String* str) override ;
2034
+ Item *copy_or_same (THD* thd) override ;
2035
+ void no_rows_in_result () override {}
2036
+ void print (String *str, enum_query_type query_type) override ;
2037
+ bool change_context_processor (void *cntx) override
2038
2038
{ context= (Name_resolution_context *)cntx; return FALSE ; }
2039
- Item *get_copy (THD *thd)
2039
+ Item *get_copy (THD *thd) override
2040
2040
{ return get_item_copy<Item_func_group_concat>(thd, this ); }
2041
2041
qsort_cmp2 get_comparator_function_for_distinct ();
2042
2042
qsort_cmp2 get_comparator_function_for_order_by ();
0 commit comments