diff options
author | Roman Nozdrin <drrtuy@gmail.com> | 2018-07-10 21:51:51 +0300 |
---|---|---|
committer | Roman Nozdrin <roman.nozdrin@mariadb.com> | 2018-07-10 21:51:51 +0300 |
commit | 4f74adaca9a62999595d55000c2e692689808ecc (patch) | |
tree | 5748127497518e42145baad202c095ba202b7b0b /sql/item_timefunc.h | |
parent | bb045e7931c451b228ffc5bcdb1791a31eb0c852 (diff) | |
download | mariadb-git-10.2-w-columnstore.tar.gz |
MCOL-1532 Added accessors columnstore uses.10.2-w-columnstore
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r-- | sql/item_timefunc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index 354a54a5c1a..e3a9158c25c 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -1068,6 +1068,7 @@ public: bool need_parentheses_in_default() { return true; } Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return get_item_copy<Item_char_typecast>(thd, mem_root, this); } + uint get_cast_length() { return cast_length; } }; @@ -1154,6 +1155,7 @@ public: const char *func_name() const { return "add_time"; } Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return get_item_copy<Item_func_add_time>(thd, mem_root, this); } + int get_sign() { return sign; } }; class Item_func_timediff :public Item_timefunc @@ -1228,6 +1230,7 @@ public: virtual void print(String *str, enum_query_type query_type); Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return get_item_copy<Item_func_timestamp_diff>(thd, mem_root, this); } + const interval_type get_int_type() { return int_type; }; }; |