diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-05-04 18:30:11 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-05-04 18:30:11 +0400 |
commit | 1ff79562b87e2fb665bccf5c5979294fabca25f6 (patch) | |
tree | f040e5c6247a6293344584db767cda73a15564e8 /sql/item_cmpfunc.h | |
parent | fe127562e2bfa0306d0a32eeb886764af577019d (diff) | |
download | mariadb-git-1ff79562b87e2fb665bccf5c5979294fabca25f6.tar.gz |
MDEV-12692 Split Item_func_between::fix_length_and_dec
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index e9d4426d919..db2f0cf02b4 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -885,6 +885,11 @@ public: const char *func_name() const { return "between"; } enum precedence precedence() const { return BETWEEN_PRECEDENCE; } void fix_length_and_dec(); + bool fix_length_and_dec_string(THD *) + { + return agg_arg_charsets_for_comparison(cmp_collation, args, 3); + } + bool fix_length_and_dec_numeric(THD *); virtual void print(String *str, enum_query_type query_type); bool eval_not_null_tables(void *opt_arg); void fix_after_pullout(st_select_lex *new_parent, Item **ref); |