summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorhf@deer.(none) <>2003-06-11 20:09:37 +0500
committerhf@deer.(none) <>2003-06-11 20:09:37 +0500
commit8fea9b451abeb0fbcc6001e3823590e6bb57e245 (patch)
treea86c3efd40d62c8c075c3b20fbaa871e3c8b84a2 /sql/item_timefunc.h
parentd640ff4a974d5bbb2751c28cfa6db3a53e69bd90 (diff)
downloadmariadb-git-8fea9b451abeb0fbcc6001e3823590e6bb57e245.tar.gz
Bugfix for #614
Item_extract needs special implementation for eq(). Item_func::eq doesn't work correctly because we have to compare Item_extract::int_type parameters also We need to propagate this to 4.1
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 0ca2a36609d..e04e24627d9 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -422,6 +422,7 @@ class Item_extract :public Item_int_func
longlong val_int();
const char *func_name() const { return "extract"; }
void fix_length_and_dec();
+ bool eq(const Item *item, bool binary_cmp) const;
unsigned int size_of() { return sizeof(*this);}
};