+19
−0
+25
−1
+2
−0
Loading
mysql-test/r/sp.result: New test case for BUG#8937. mysql-test/t/sp.test: New test case for BUG#8937. sql/item_sum.h: Added val_int() method for Item_sum_avg for forced int types (in SPs for instance), otherwise Item_sum_sum::val_int() is used.