diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-09-13 23:32:10 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-09-13 23:32:10 +0400 |
commit | 6cc2e7ea5d129b2aec2cc503c849ca0e835e519e (patch) | |
tree | a8c8b2689387e14ac2d36b8afb0fc45165342eb7 /sql/item.h | |
parent | 9b577edd50e29452c0ac58d3c73a871dc20dc37a (diff) | |
download | mariadb-git-6cc2e7ea5d129b2aec2cc503c849ca0e835e519e.tar.gz |
MDEV-8795 Equal expression propagation does not work for temporal literals
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index d3dbc543e82..6a4e5481b36 100644 --- a/sql/item.h +++ b/sql/item.h @@ -3348,6 +3348,7 @@ public: } enum_field_types field_type() const { return MYSQL_TYPE_DATE; } void print(String *str, enum_query_type query_type); + Item *clone_item(THD *thd); bool get_date(MYSQL_TIME *res, ulonglong fuzzy_date); }; @@ -3366,6 +3367,7 @@ public: } enum_field_types field_type() const { return MYSQL_TYPE_TIME; } void print(String *str, enum_query_type query_type); + Item *clone_item(THD *thd); bool get_date(MYSQL_TIME *res, ulonglong fuzzy_date); }; @@ -3386,6 +3388,7 @@ public: } enum_field_types field_type() const { return MYSQL_TYPE_DATETIME; } void print(String *str, enum_query_type query_type); + Item *clone_item(THD *thd); bool get_date(MYSQL_TIME *res, ulonglong fuzzy_date); }; |