summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2007-05-08 00:08:00 +0400
committerevgen@moonbone.local <>2007-05-08 00:08:00 +0400
commiteddd02158b065e3cecbbb6dc2ebeb4c6367f02d3 (patch)
tree3722886b021bdf40f5d368abe99af7ad621e2607 /sql/item_func.h
parent6ec0bc24a7e1a69208eed6fd192ce0e4ae5718d5 (diff)
downloadmariadb-git-eddd02158b065e3cecbbb6dc2ebeb4c6367f02d3.tar.gz
Additional fix for the bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 952c828b251..0443e394585 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -703,6 +703,7 @@ public:
my_decimal *val_decimal(my_decimal *);
void fix_length_and_dec();
enum Item_result result_type () const { return cmp_type; }
+ bool result_as_longlong() { return compare_as_dates; };
uint cmp_datetimes(ulonglong *value);
};