Fix for Bug 456388 - Function SUM returns wrong value for ACNUMERIC data
type

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>