Fixed problem with LEFT JOIN and COUNT() on a column which was declared NULL + and it had a DEFAULT value.
Fixed core dump problem when using CONCAT() in a WHERE clause.
Fixed problem with AVG() and STD() with NULL values.