summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-10-27 18:46:00 -0700
committerunknown <jimw@mysql.com>2005-10-27 18:46:00 -0700
commit80a8d8c4f818e80cae612a3bb020039a3846437a (patch)
tree16be35acb7bbb6062af06b67f2f9e599b8d7670a /sql/item_func.cc
parenta397d1f7149dcdeac86e9e4870780dcd8e99a908 (diff)
parent5e8515d9f2ccada3e19b109196fb5654e7c9db92 (diff)
downloadmariadb-git-80a8d8c4f818e80cae612a3bb020039a3846437a.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/t/func_math.test: Auto merged mysql-test/r/func_math.result: Resolve conflict sql/item_func.cc: Resolve conflict
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index a5e1c37cd18..255bfcae4ca 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -636,6 +636,7 @@ void Item_func_num1::fix_num_length_and_dec()
{
decimals= args[0]->decimals;
max_length= args[0]->max_length;
+ maybe_null= 1;
}