diff options
author | cmiller@zippy.cornsilk.net <> | 2006-11-06 17:45:47 -0500 |
---|---|---|
committer | cmiller@zippy.cornsilk.net <> | 2006-11-06 17:45:47 -0500 |
commit | 40170fbf58c84f9a5186adcb418ffa7b83104ae3 (patch) | |
tree | 127b0d7799600812e018834954dd045f5a5fa68c /sql | |
parent | 56f10ac81a9eefe03a1c0e0bbb25d928c64db6b3 (diff) | |
parent | 87a5134b7c1197dc23f3cd37b5e31c50f70fd27e (diff) | |
download | mariadb-git-40170fbf58c84f9a5186adcb418ffa7b83104ae3.tar.gz |
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug23411/my41-bug23411
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug23411/my50-bug23411
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item_func.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index a294bbd7a71..ca71701841b 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -105,7 +105,7 @@ Item_func::Item_func(THD *thd, Item_func *item) /* - Resolve references to table column for a function and it's argument + Resolve references to table column for a function and its argument SYNOPSIS: fix_fields() @@ -1377,6 +1377,13 @@ void Item_func_mod::result_precision() } +void Item_func_mod::fix_length_and_dec() +{ + Item_num_op::fix_length_and_dec(); + maybe_null= 1; +} + + double Item_func_neg::real_op() { double value= args[0]->val_real(); |