You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Fix compilation warnings
This commit is contained in:
@ -179,8 +179,6 @@ void TupleBPS::initializeConfigParms()
|
|||||||
fProcessorThreadsPerScan = fRm->getJlProcessorThreadsPerScan();
|
fProcessorThreadsPerScan = fRm->getJlProcessorThreadsPerScan();
|
||||||
fNumThreads = 0;
|
fNumThreads = 0;
|
||||||
|
|
||||||
config::Config* cf = config::Config::makeConfig();
|
|
||||||
|
|
||||||
fExtentsPerSegFile = DEFAULT_EXTENTS_PER_SEG_FILE;
|
fExtentsPerSegFile = DEFAULT_EXTENTS_PER_SEG_FILE;
|
||||||
|
|
||||||
if (fRequestSize >= fMaxOutstandingRequests)
|
if (fRequestSize >= fMaxOutstandingRequests)
|
||||||
|
@ -1283,7 +1283,6 @@ void RowAggregation::doSum(const Row& rowIn, int64_t colIn, int64_t colOut, int
|
|||||||
bool isWideDataType = false;
|
bool isWideDataType = false;
|
||||||
void *wideValInPtr = nullptr;
|
void *wideValInPtr = nullptr;
|
||||||
|
|
||||||
long double valOut = fRow.getLongDoubleField(colOut);
|
|
||||||
if (rowIn.isNullValue(colIn))
|
if (rowIn.isNullValue(colIn))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -593,7 +593,7 @@ int ColumnBufferCompressed::saveCompressionHeaders( )
|
|||||||
// If lbid written in the header is not 0 and not equal to `lastupdatedlbid` - we are running
|
// If lbid written in the header is not 0 and not equal to `lastupdatedlbid` - we are running
|
||||||
// for the next extent for column segment file.
|
// for the next extent for column segment file.
|
||||||
const auto lastUpdatedLbid = fColInfo->getLastUpdatedLBID();
|
const auto lastUpdatedLbid = fColInfo->getLastUpdatedLBID();
|
||||||
if (lbid && lastUpdatedLbid != lbid)
|
if (lbid && (uint64_t)lastUpdatedLbid != lbid)
|
||||||
{
|
{
|
||||||
// Write back lbid, after header initialization.
|
// Write back lbid, after header initialization.
|
||||||
fCompressor->setLBIDByIndex(hdrBuf, lbid, 0);
|
fCompressor->setLBIDByIndex(hdrBuf, lbid, 0);
|
||||||
|
Reference in New Issue
Block a user