diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-05-07 09:12:54 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-05-07 09:12:54 +0400 |
commit | 4e9022b48beadbad5bfe32fe67107f930381b3fb (patch) | |
tree | 0f87845a1bb6fe5de7fe0d43836c6d5cbb82c1a5 /sql/item_timefunc.h | |
parent | cc694792c9dc3fe4ce6a228b57f45adcc961b1e0 (diff) | |
download | mariadb-git-4e9022b48beadbad5bfe32fe67107f930381b3fb.tar.gz |
MDEV-12718 Determine Item::cmp_type() from Item::type_handler()
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r-- | sql/item_timefunc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index c0b347681f7..a9a7706ceea 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -528,7 +528,6 @@ public: Item_temporal_func(THD *thd, Item *a, Item *b): Item_func(thd, a, b) {} Item_temporal_func(THD *thd, Item *a, Item *b, Item *c): Item_func(thd, a, b, c) {} enum Item_result result_type () const { return STRING_RESULT; } - Item_result cmp_type() const { return TIME_RESULT; } String *val_str(String *str); longlong val_int() { return val_int_from_date(); } double val_real() { return val_real_from_date(); } |