You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
Fix code style
This commit is contained in:
@@ -9877,6 +9877,7 @@ int getGroupPlan(gp_walk_info& gwi, SELECT_LEX& select_lex, SCSEP& csep, cal_gro
|
||||
select_query += ord_cols;
|
||||
}
|
||||
}
|
||||
|
||||
// LIMIT and OFFSET are extracted from TABLE_LIST elements.
|
||||
// All of JOIN-ed tables contain relevant limit and offset.
|
||||
if (gi.groupByTables->select_lex->select_limit)
|
||||
|
@@ -2769,6 +2769,7 @@ int64_t DataConvert::stringToTime(const string& data)
|
||||
|
||||
if (*end != '\0')
|
||||
return -1;
|
||||
|
||||
hour = day * 24;
|
||||
day = -1;
|
||||
time = data.substr(pos + 1, data.length() - pos - 1);
|
||||
|
@@ -86,6 +86,7 @@ int64_t addTime(DateTime& dt1, Time& dt2)
|
||||
dt2.day = hour / 24;
|
||||
hour = hour % 24;
|
||||
}
|
||||
|
||||
if (hour < 0)
|
||||
{
|
||||
dt.hour = hour + 24;
|
||||
|
@@ -77,7 +77,10 @@ public:
|
||||
{
|
||||
return fLocFile;
|
||||
}
|
||||
int getReadBufSize() { return fReadBufSize; }
|
||||
int getReadBufSize()
|
||||
{
|
||||
return fReadBufSize;
|
||||
}
|
||||
{
|
||||
return fMode;
|
||||
}
|
||||
|
@@ -87,6 +87,7 @@ WEFileReadThread::WEFileReadThread(WESDHandler& aSdh): fSdh(aSdh),
|
||||
{
|
||||
//TODO batch qty to get from config
|
||||
fBatchQty = 10000;
|
||||
|
||||
if (fSdh.getReadBufSize() < DEFAULTBUFFSIZE)
|
||||
{
|
||||
fBuffSize = DEFAULTBUFFSIZE;
|
||||
@@ -95,6 +96,7 @@ WEFileReadThread::WEFileReadThread(WESDHandler& aSdh): fSdh(aSdh),
|
||||
{
|
||||
fBuffSize = fSdh.getReadBufSize();
|
||||
}
|
||||
|
||||
fBuff = new char [fBuffSize];
|
||||
|
||||
}
|
||||
|
@@ -302,6 +302,7 @@ int ColumnOp::allocRowId(const TxnID& txnid, bool useStartingExtent,
|
||||
|
||||
tableMetaData->setColExtsInfo(newColStructList[i].dataOid, aColExtsInfo);
|
||||
}
|
||||
|
||||
newExtent = dbRootExtentTrackers[column.colNo]->nextSegFile(dbRoot, partition, segment, newHwm, startLbid);
|
||||
}
|
||||
}
|
||||
|
@@ -1687,6 +1687,7 @@ int WriteEngineWrapper::insertColumnRecsBinary(const TxnID& txnid,
|
||||
// that all HWMs will be incremented by this operation
|
||||
int32_t lowColLen = 8192;
|
||||
int32_t colId = 0;
|
||||
|
||||
for (uint32_t colIt = 0; colIt < colStructList.size(); colIt++)
|
||||
{
|
||||
if (colStructList[colIt].colWidth < lowColLen)
|
||||
|
Reference in New Issue
Block a user