What is the bug?
SUM(NULL) unexpectedly returns 0
How can one reproduce the bug?
Steps to reproduce the behavior:
- Make a query SELECT SUM(NULL) from
- See the result as 0 instead of NULL

What is the expected behavior?
The result should be NULL
What is your host/environment?