types: Fix bug for CalculateSum (#1497)
types: Fix bug for CalculateSum (#1497)


EvilMcJerkface/tidb,ming-relax/tidb,myrice/tidb,zimulala/tidb,c4pt0r/tidb,anywhy/tidb,yangwenmai/tidb,simon-xia/tidb,yuanwhy/tidb,wusphinx/tidb,Cofyc/tidb,andelf/tidb,ueizhou/tidb,pingcap/tidb,pingcap/tidb,myrice/tidb,astaxie/tidb,zimulala/tidb,zs634134578/tidb,CodeRushing/tidb,qiuyesuifeng/tidb,silenceper/tidb,EvilMcJerkface/tidb,mccxj/tidb,yangwenmai/tidb,ngaut/tidb,andelf/tidb,ngaut/tidb,liyu4/tidb,XuHuaiyu/tidb,simon-xia/tidb,ming-relax/tidb,kyle-wang/tidb,CodeRushing/tidb,8cbx/tidb,cosmtrek/tidb,tiancaiamao/tidb,XuHuaiyu/tidb,cosmtrek/tidb,gaocegege/tidb,c4pt0r/tidb,Cofyc/tidb,spongedu/tidb,tiancaiamao/tidb,mccxj/tidb,spongedu/tidb,yuanwhy/tidb,c4pt0r/tidb,wusphinx/tidb,kyle-wang/tidb,louishust/tidb,JinheLin/tidb,silenceper/tidb,JinheLin/tidb,qiuyesuifeng/tidb,pingcap/tidb,gaocegege/tidb,qhsong/tidb,anywhy/tidb,8cbx/tidb,kyle-wang/tidb,kyle-wang/tidb,pingcap/tidb,ngaut/tidb,louishust/tidb,liyu4/tidb,c4pt0r/tidb,pingcap/tidb,ueizhou/tidb,astaxie/tidb,c4pt0r/tidb,zs634134578/tidb,Nify/tidb,coocood/tidb,silentred/tidb,qhsong/tidb,ngaut/tidb,Nify/tidb,silentred/tidb,kyle-wang/tidb,ngaut/tidb,c4pt0r/tidb,kyle-wang/tidb,pingcap/tidb,coocood/tidb,ngaut/tidb