summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-11-01 15:54:30 +0200
committermonty@mysql.com <>2005-11-01 15:54:30 +0200
commite5f48e13bfd6a792b80edc002ab3def5eb160f60 (patch)
treea19fa82d4c5fc0f845231b5d75a45a0c36e0494d /sql/item_timefunc.h
parentf3502cd9838f75086de49478115d9a54d4a45a3d (diff)
downloadmariadb-git-e5f48e13bfd6a792b80edc002ab3def5eb160f60.tar.gz
Reverting patch for BUG #14009 (use of abs() on null value causes problems with filesort
Fix for bug #14536: SELECT @a,@a:=... fails with prepared statements
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 196966f5388..b2352e728c5 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -845,6 +845,7 @@ public:
{
decimals=0;
max_length=MAX_TIME_WIDTH*MY_CHARSET_BIN_MB_MAXLEN;
+ maybe_null= 1;
}
Field *tmp_table_field(TABLE *t_arg)
{