summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authormhansson@dl145s.mysql.com <>2007-10-09 15:35:03 +0200
committermhansson@dl145s.mysql.com <>2007-10-09 15:35:03 +0200
commit1566f370a8279dc5f82632572351435d8af62486 (patch)
tree2130a0d2a025cda5a2b6655a3a263214c3550079 /sql/item_timefunc.h
parenta06a6579e8c7e2377d69d3c42fb4850e4c9aa1ba (diff)
parent98220d761eef537d9a8d11a01f5b718ab4848e51 (diff)
downloadmariadb-git-1566f370a8279dc5f82632572351435d8af62486.tar.gz
Merge bk-internal:/home/bk/mysql-5.1-opt
into dl145s.mysql.com:/data0/mhansson/bug31160/my51-bug31160
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 6d3a236b791..4c335ca85b1 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -938,7 +938,10 @@ class Item_func_maketime :public Item_str_timefunc
{
public:
Item_func_maketime(Item *a, Item *b, Item *c)
- :Item_str_timefunc(a, b ,c) {}
+ :Item_str_timefunc(a, b, c)
+ {
+ maybe_null= TRUE;
+ }
String *val_str(String *str);
const char *func_name() const { return "maketime"; }
};