You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-392 Apply astyle
Make this branch apply our style guidelines
This commit is contained in:
@ -606,6 +606,7 @@ void SimpleFilter::convertConstant()
|
||||
result.intVal = dataconvert::DataConvert::timeToInt(result.strVal);
|
||||
}
|
||||
}
|
||||
|
||||
rcc->result(result);
|
||||
}
|
||||
}
|
||||
|
@ -995,6 +995,7 @@ inline int64_t TreeNode::getDatetimeIntVal()
|
||||
int day = 0;
|
||||
|
||||
memcpy(&tt, &fResult.intVal, 8);
|
||||
|
||||
// Note, this should probably be current date +/- time
|
||||
if ((tt.hour > 23) && (!tt.is_neg))
|
||||
{
|
||||
@ -1005,6 +1006,7 @@ inline int64_t TreeNode::getDatetimeIntVal()
|
||||
{
|
||||
tt.hour = 0;
|
||||
}
|
||||
|
||||
dataconvert::DateTime dt(0, 0, day, tt.hour, tt.minute, tt.second, tt.msecond);
|
||||
memcpy(&fResult.intVal, &dt, 8);
|
||||
return fResult.intVal;
|
||||
|
Reference in New Issue
Block a user