summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-08-19 15:11:14 +0400
committerAlexander Barkov <bar@mariadb.com>2019-08-19 15:11:14 +0400
commit52e276247d4573de0a01fa1500485fbd980d423a (patch)
treefd252f6411b56b87c85cfe3f8861faf087519fce /sql/item_cmpfunc.h
parent850bf3313740598d3148139e9add7ea95a71cb03 (diff)
downloadmariadb-git-52e276247d4573de0a01fa1500485fbd980d423a.tar.gz
MDEV-19961 MIN(timestamp_column) returns a wrong result in a GROUP BY query
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 63c131cd8f4..10222bf8c42 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -132,6 +132,9 @@ public:
int compare_e_json_str();
int compare_e_str_json();
+ void min_max_update_field_native(THD *thd, Field *field, Item *item,
+ int cmp_sign);
+
Item** cache_converted_constant(THD *thd, Item **value, Item **cache,
const Type_handler *type);
inline bool is_owner_equal_func()