diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-11-15 06:35:37 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-11-15 06:35:37 +0400 |
commit | 7f175595c83b3ef55d6aa00cc7707ec565398bf5 (patch) | |
tree | f38b02fdd380103d281fac6923371f0c47693a92 /sql/item_cmpfunc.h | |
parent | b68d8a05d326bed43aefa73d717c0307278ca6bb (diff) | |
download | mariadb-git-7f175595c83b3ef55d6aa00cc7707ec565398bf5.tar.gz |
Backport for "MDEV-17698 MEMORY engine performance regression"
Also, backporting a part of:
MDEV-11485 Split Item_func_between::val_int() into virtual methods in Type_handler
for easier merge to 10.3.
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 c4e6a53dd6b..12a12e05845 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -694,6 +694,11 @@ public: bool eval_not_null_tables(uchar *opt_arg); void fix_after_pullout(st_select_lex *new_parent, Item **ref); bool count_sargable_conds(uchar *arg); + + longlong val_int_cmp_string(); + longlong val_int_cmp_int(); + longlong val_int_cmp_real(); + longlong val_int_cmp_decimal(); }; |