summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-11-07 15:03:58 +0400
committerAlexander Barkov <bar@mariadb.org>2017-11-07 15:03:58 +0400
commitfff7fc500b3ab0ead49685cbd1310d5b2dfa0972 (patch)
treef9a9af9b7f146c6b1678039e6ecff35a9eab3727 /sql/item_sum.h
parent8128ae48eff6029d29d6c1c509f04994614a0571 (diff)
downloadmariadb-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.h1
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; }