You've already forked mariadb-columnstore-engine
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:
@ -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,
|
||||
|
Reference in New Issue
Block a user