1
0
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:
Alexey Antipovsky
2021-06-09 16:51:00 +03:00
parent 3c33a816c3
commit 0dedb7e628
3 changed files with 1 additions and 4 deletions

View File

@ -179,8 +179,6 @@ void TupleBPS::initializeConfigParms()
fProcessorThreadsPerScan = fRm->getJlProcessorThreadsPerScan();
fNumThreads = 0;
config::Config* cf = config::Config::makeConfig();
fExtentsPerSegFile = DEFAULT_EXTENTS_PER_SEG_FILE;
if (fRequestSize >= fMaxOutstandingRequests)

View File

@ -1283,7 +1283,6 @@ void RowAggregation::doSum(const Row& rowIn, int64_t colIn, int64_t colOut, int
bool isWideDataType = false;
void *wideValInPtr = nullptr;
long double valOut = fRow.getLongDoubleField(colOut);
if (rowIn.isNullValue(colIn))
return;

View File

@ -593,7 +593,7 @@ int ColumnBufferCompressed::saveCompressionHeaders( )
// 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.
const auto lastUpdatedLbid = fColInfo->getLastUpdatedLBID();
if (lbid && lastUpdatedLbid != lbid)
if (lbid && (uint64_t)lastUpdatedLbid != lbid)
{
// Write back lbid, after header initialization.
fCompressor->setLBIDByIndex(hdrBuf, lbid, 0);