diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-11-07 15:03:58 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-11-07 15:03:58 +0400 |
commit | fff7fc500b3ab0ead49685cbd1310d5b2dfa0972 (patch) | |
tree | f9a9af9b7f146c6b1678039e6ecff35a9eab3727 /sql/item_sum.h | |
parent | 8128ae48eff6029d29d6c1c509f04994614a0571 (diff) | |
download | mariadb-git-fff7fc500b3ab0ead49685cbd1310d5b2dfa0972.tar.gz |
MDEV-10817 CAST(MAX(DATE'2001-01-01') AS TIME) returns a wrong result
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index 0c655ded153..5c446e5779d 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -1037,6 +1037,7 @@ protected: double val_real(); longlong val_int(); my_decimal *val_decimal(my_decimal *); + bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate); void reset_field(); String *val_str(String *); bool keep_field_type(void) const { return 1; } |