diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-02-06 13:30:39 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-02-06 13:30:39 +0100 |
commit | 9f9ecc0626b7ef0c54db0d43fd96e7193b907346 (patch) | |
tree | 51fb20940e57777efb9890bf13efe0ea1fa6c8e2 /sql/item_sum.cc | |
parent | 7232151193939fc9809e082d75a7cad57a76b29a (diff) | |
download | mariadb-git-9f9ecc0626b7ef0c54db0d43fd96e7193b907346.tar.gz |
MDEV-135: work-around a GCC bug seen on Debian 5 "lenny" 64-bit.
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r-- | sql/item_sum.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc index c0284e730a8..6e115854f17 100644 --- a/sql/item_sum.cc +++ b/sql/item_sum.cc @@ -1647,7 +1647,7 @@ double Item_sum_avg::val_real() my_decimal *Item_sum_avg::val_decimal(my_decimal *val) { - my_decimal sum_buff, cnt; + my_decimal cnt; const my_decimal *sum_dec; DBUG_ASSERT(fixed == 1); if (aggr) |