@@ -606,7 +606,7 @@ class Item_func : public Item_result_field {
606
606
@return true if the function item can have named parameters
607
607
*/
608
608
virtual bool may_have_named_parameters () const { return false ; }
609
- virtual bool is_non_const_over_literals (uchar *) { return false ; }
609
+ virtual bool is_non_const_over_literals (uchar *) override { return false ; }
610
610
611
611
bool check_function_as_value_generator (uchar *args) override {
612
612
if (is_deprecated ()) {
@@ -2041,7 +2041,7 @@ class Item_func_get_lock final : public Item_int_func {
2041
2041
maybe_null = true ;
2042
2042
return false ;
2043
2043
}
2044
- bool is_non_const_over_literals (uchar *) { return true ; }
2044
+ bool is_non_const_over_literals (uchar *) override { return true ; }
2045
2045
bool check_function_as_value_generator (uchar *args) override {
2046
2046
Check_function_as_value_generator_parameters *func_arg =
2047
2047
pointer_cast<Check_function_as_value_generator_parameters *>(args);
@@ -2067,7 +2067,7 @@ class Item_func_release_lock final : public Item_int_func {
2067
2067
maybe_null = true ;
2068
2068
return false ;
2069
2069
}
2070
- bool is_non_const_over_literals (uchar *) { return true ; }
2070
+ bool is_non_const_over_literals (uchar *) override { return true ; }
2071
2071
bool check_function_as_value_generator (uchar *args) override {
2072
2072
Check_function_as_value_generator_parameters *func_arg =
2073
2073
pointer_cast<Check_function_as_value_generator_parameters *>(args);
@@ -2090,7 +2090,7 @@ class Item_func_release_all_locks final : public Item_int_func {
2090
2090
unsigned_flag = true ;
2091
2091
return false ;
2092
2092
}
2093
- bool is_non_const_over_literals (uchar *) { return true ; }
2093
+ bool is_non_const_over_literals (uchar *) override { return true ; }
2094
2094
bool check_function_as_value_generator (uchar *args) override {
2095
2095
Check_function_as_value_generator_parameters *func_arg =
2096
2096
pointer_cast<Check_function_as_value_generator_parameters *>(args);
@@ -3043,7 +3043,7 @@ class Item_func_get_user_var : public Item_var_func,
3043
3043
select @t1:=1,@t1,@t:="hello",@t from foo where (@t1:= t2.b)
3044
3044
*/
3045
3045
const char *func_name () const override { return " get_user_var" ; }
3046
- bool is_non_const_over_literals (uchar *) { return true ; }
3046
+ bool is_non_const_over_literals (uchar *) override { return true ; }
3047
3047
bool eq (const Item *item, bool binary_cmp) const override ;
3048
3048
3049
3049
private:
@@ -3158,7 +3158,7 @@ class Item_func_get_system_var final : public Item_var_func {
3158
3158
bool resolve_type (THD *) override ;
3159
3159
void print (String *str, enum_query_type query_type) override ;
3160
3160
table_map used_tables () const override { return 0 ; }
3161
- bool is_non_const_over_literals (uchar *) { return true ; }
3161
+ bool is_non_const_over_literals (uchar *) override { return true ; }
3162
3162
enum Item_result result_type () const override ;
3163
3163
double val_real () override ;
3164
3164
longlong val_int () override ;
@@ -3467,7 +3467,7 @@ class Item_func_is_free_lock final : public Item_int_func {
3467
3467
maybe_null = true ;
3468
3468
return false ;
3469
3469
}
3470
- bool is_non_const_over_literals (uchar *) { return true ; }
3470
+ bool is_non_const_over_literals (uchar *) override { return true ; }
3471
3471
bool check_function_as_value_generator (uchar *args) override {
3472
3472
Check_function_as_value_generator_parameters *func_arg =
3473
3473
pointer_cast<Check_function_as_value_generator_parameters *>(args);
@@ -3492,7 +3492,7 @@ class Item_func_is_used_lock final : public Item_int_func {
3492
3492
maybe_null = true ;
3493
3493
return false ;
3494
3494
}
3495
- bool is_non_const_over_literals (uchar *) { return true ; }
3495
+ bool is_non_const_over_literals (uchar *) override { return true ; }
3496
3496
bool check_function_as_value_generator (uchar *args) override {
3497
3497
Check_function_as_value_generator_parameters *func_arg =
3498
3498
pointer_cast<Check_function_as_value_generator_parameters *>(args);
0 commit comments