summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.cc
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2005-11-01 19:47:53 +0300
committerevgen@moonbone.local <>2005-11-01 19:47:53 +0300
commitbbe58c7e263658ac67032782a9268c43aabc997c (patch)
tree6c1605103b3513ebad088e2997385997cd4d354f /sql/item_timefunc.cc
parente5f48e13bfd6a792b80edc002ab3def5eb160f60 (diff)
parent47059b89f5b78b22c5333be8dab7d8c871105d9a (diff)
downloadmariadb-git-bbe58c7e263658ac67032782a9268c43aabc997c.tar.gz
Manually merged
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r--sql/item_timefunc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc
index 7f847005966..2b0314bb287 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -2504,6 +2504,7 @@ void Item_func_add_time::fix_length_and_dec()
enum_field_types arg0_field_type;
decimals=0;
max_length=MAX_DATETIME_FULL_WIDTH*MY_CHARSET_BIN_MB_MAXLEN;
+ maybe_null= 1;
/*
The field type for the result of an Item_func_add_time function is defined