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
Fixed compiler warning in resource manager.
This commit is contained in:
@ -80,6 +80,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
||||
fJlProcessorThreadsPerScan(defaultProcessorThreadsPerScan),
|
||||
fJlNumScanReceiveThreads(defaultScanReceiveThreads),
|
||||
fTwNumThreads(defaultNumThreads),
|
||||
fJlMaxOutstandingRequests(defaultMaxOutstandingRequests),
|
||||
fHJUmMaxMemorySmallSideDistributor(fHashJoinStr,
|
||||
"UmMaxMemorySmallSide",
|
||||
getUintVal(fHashJoinStr, "TotalUmMaxMemorySmallSide", defaultTotalUmMemory),
|
||||
@ -87,8 +88,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
||||
0),
|
||||
fHJPmMaxMemorySmallSideSessionMap(
|
||||
getUintVal(fHashJoinStr, "PmMaxMemorySmallSide", defaultHJPmMaxMemorySmallSide)),
|
||||
isExeMgr(runningInExeMgr),
|
||||
fJlMaxOutstandingRequests(defaultMaxOutstandingRequests)
|
||||
isExeMgr(runningInExeMgr)
|
||||
{
|
||||
int temp;
|
||||
int configNumCores = -1;
|
||||
@ -146,7 +146,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
||||
if (temp > defaultMaxOutstandingRequests)
|
||||
{
|
||||
fJlMaxOutstandingRequests = temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
temp = getIntVal(fJobListStr, "NumScanReceiveThreads", -1);
|
||||
@ -234,7 +234,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
||||
fAggNumBuckets = fAggNumThreads * 4;
|
||||
else
|
||||
fAggNumBuckets = fConfig->uFromText(nb);
|
||||
|
||||
|
||||
nr = fConfig->getConfig("RowAggregation", "RowAggrRowGroupsPerThread");
|
||||
|
||||
if (nr.empty())
|
||||
@ -418,4 +418,3 @@ bool ResourceManager::getMemory(int64_t amount, boost::shared_ptr<int64_t> sessi
|
||||
|
||||
|
||||
} //namespace
|
||||
|
||||
|
Reference in New Issue
Block a user