Fixed BUG#1874: Don't call fix_fields() indiscriminately, it resets null_value
for some items, which made aggregates like MIN(), MAX() and SUM() fail. mysql-test/r/sp.result: Test case for aggregate functions in SELECT INTO. (BUG#1874) mysql-test/t/sp.test: Test case for aggregate functions in SELECT INTO. (BUG#1874)
Showing
Please register or sign in to comment