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
Fix merge and coding style issues
This commit is contained in:
@ -48,8 +48,10 @@ string Func_monthname::getStrVal(rowgroup::Row& row,
|
||||
CalpontSystemCatalog::ColType& op_ct)
|
||||
{
|
||||
int32_t month = getIntVal(row, parm, isNull, op_ct);
|
||||
|
||||
if (month == -1)
|
||||
return "";
|
||||
|
||||
return helpers::monthFullNames[month];
|
||||
}
|
||||
|
||||
@ -90,7 +92,7 @@ int64_t Func_monthname::getIntVal(rowgroup::Row& row,
|
||||
val = parm[0]->data()->getIntVal(row, isNull);
|
||||
return (unsigned)((val >> 44) & 0xf);
|
||||
|
||||
// Time adds to now() and then gets value
|
||||
// Time adds to now() and then gets value
|
||||
case CalpontSystemCatalog::TIME:
|
||||
aDateTime = static_cast<DateTime>(nowDatetime());
|
||||
aTime = parm[0]->data()->getTimeIntVal(row, isNull);
|
||||
|
Reference in New Issue
Block a user