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-392 Apply astyle
Make this branch apply our style guidelines
This commit is contained in:
@ -648,10 +648,12 @@ int64_t GroupConcator::lengthEstimate(const rowgroup::Row& row)
|
||||
fieldLen = 19; // YYYY-MM-DD HH24:MI:SS
|
||||
// Decimal point and milliseconds
|
||||
uint64_t colPrecision = row.getPrecision(*i);
|
||||
|
||||
if (colPrecision > 0 && colPrecision < 7)
|
||||
{
|
||||
fieldLen += colPrecision + 1;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@ -660,10 +662,12 @@ int64_t GroupConcator::lengthEstimate(const rowgroup::Row& row)
|
||||
fieldLen = 10; // -HHH:MI:SS
|
||||
// Decimal point and milliseconds
|
||||
uint64_t colPrecision = row.getPrecision(*i);
|
||||
|
||||
if (colPrecision > 0 && colPrecision < 7)
|
||||
{
|
||||
fieldLen += colPrecision + 1;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user