1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-332 Fix MONTHNAME() cast to double

Should return 0 to match MariaDB
This commit is contained in:
Andrew Hutchings
2016-09-27 18:23:22 +01:00
parent 7ef1cabdf2
commit 35fab05207

View File

@ -141,9 +141,7 @@ double Func_monthname::getDoubleVal(rowgroup::Row& row,
bool& isNull,
execplan::CalpontSystemCatalog::ColType& op_ct)
{
uint64_t val = getIntVal(row, parm, isNull, op_ct);
return (double)val;
return 0;
}
execplan::IDB_Decimal Func_monthname::getDecimalVal(rowgroup::Row& row,