summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-03-17 22:04:45 +0100
committerSergei Golubchik <sergii@pisem.net>2011-03-17 22:04:45 +0100
commit684405e74126c81545f62338322d40b8f2975ca4 (patch)
tree10e01a9c4aa1a7aa104aeb97223d88d2cf6b942b /sql/item_cmpfunc.h
parent256185c50d5f8ccfa05abf07129fc7bbc7a15991 (diff)
downloadmariadb-git-684405e74126c81545f62338322d40b8f2975ca4.tar.gz
lp:737092 Assertion `item->null_value' failed in get_datetime_value in 5.1-micro
Implement Item_func_coalesce::get_date()
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index ec5ba8bb616..d86ae7422c6 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -675,6 +675,7 @@ public:
const char *func_name() const { return "coalesce"; }
table_map not_null_tables() const { return 0; }
enum_field_types field_type() const { return cached_field_type; }
+ bool get_date(MYSQL_TIME *ltime,uint fuzzydate);
};