diff options
author | Alexander Barkov <bar@mariadb.org> | 2018-02-13 20:37:31 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2018-02-13 20:37:31 +0400 |
commit | 95d075a0e5b9b4276c53f888c8090113a8adfbf4 (patch) | |
tree | b43ac5e7c1db879aba5f29c97b70265ae083e124 /sql/item_strfunc.h | |
parent | 0c4aeef976d1094e90ce7a0b11138916e47c22fc (diff) | |
download | mariadb-git-95d075a0e5b9b4276c53f888c8090113a8adfbf4.tar.gz |
MDEV-15293 CAST(AS TIME) returns bad results for LAST_VALUE(),NAME_CONST(),SP variable
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 2b7cc1a3aa1..a357c03bda5 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -62,6 +62,8 @@ public: longlong val_int(); double val_real(); my_decimal *val_decimal(my_decimal *); + bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate) + { return get_date_from_string(ltime, fuzzydate); } const Type_handler *type_handler() const { return string_type_handler(); } void left_right_max_length(); bool fix_fields(THD *thd, Item **ref); |