summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-05-04 18:30:11 +0400
committerAlexander Barkov <bar@mariadb.org>2017-05-04 18:30:11 +0400
commit1ff79562b87e2fb665bccf5c5979294fabca25f6 (patch)
treef040e5c6247a6293344584db767cda73a15564e8 /sql/item_cmpfunc.h
parentfe127562e2bfa0306d0a32eeb886764af577019d (diff)
downloadmariadb-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.h5
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);