[Maria-discuss] Since MariaDB 10.1 aggregate functions return different field type for columns with date values