You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
Fixed compiler warning in resource manager.
This commit is contained in:
@@ -80,6 +80,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
|||||||
fJlProcessorThreadsPerScan(defaultProcessorThreadsPerScan),
|
fJlProcessorThreadsPerScan(defaultProcessorThreadsPerScan),
|
||||||
fJlNumScanReceiveThreads(defaultScanReceiveThreads),
|
fJlNumScanReceiveThreads(defaultScanReceiveThreads),
|
||||||
fTwNumThreads(defaultNumThreads),
|
fTwNumThreads(defaultNumThreads),
|
||||||
|
fJlMaxOutstandingRequests(defaultMaxOutstandingRequests),
|
||||||
fHJUmMaxMemorySmallSideDistributor(fHashJoinStr,
|
fHJUmMaxMemorySmallSideDistributor(fHashJoinStr,
|
||||||
"UmMaxMemorySmallSide",
|
"UmMaxMemorySmallSide",
|
||||||
getUintVal(fHashJoinStr, "TotalUmMaxMemorySmallSide", defaultTotalUmMemory),
|
getUintVal(fHashJoinStr, "TotalUmMaxMemorySmallSide", defaultTotalUmMemory),
|
||||||
@@ -87,8 +88,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
|||||||
0),
|
0),
|
||||||
fHJPmMaxMemorySmallSideSessionMap(
|
fHJPmMaxMemorySmallSideSessionMap(
|
||||||
getUintVal(fHashJoinStr, "PmMaxMemorySmallSide", defaultHJPmMaxMemorySmallSide)),
|
getUintVal(fHashJoinStr, "PmMaxMemorySmallSide", defaultHJPmMaxMemorySmallSide)),
|
||||||
isExeMgr(runningInExeMgr),
|
isExeMgr(runningInExeMgr)
|
||||||
fJlMaxOutstandingRequests(defaultMaxOutstandingRequests)
|
|
||||||
{
|
{
|
||||||
int temp;
|
int temp;
|
||||||
int configNumCores = -1;
|
int configNumCores = -1;
|
||||||
@@ -146,7 +146,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
|||||||
if (temp > defaultMaxOutstandingRequests)
|
if (temp > defaultMaxOutstandingRequests)
|
||||||
{
|
{
|
||||||
fJlMaxOutstandingRequests = temp;
|
fJlMaxOutstandingRequests = temp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
temp = getIntVal(fJobListStr, "NumScanReceiveThreads", -1);
|
temp = getIntVal(fJobListStr, "NumScanReceiveThreads", -1);
|
||||||
@@ -234,7 +234,7 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
|||||||
fAggNumBuckets = fAggNumThreads * 4;
|
fAggNumBuckets = fAggNumThreads * 4;
|
||||||
else
|
else
|
||||||
fAggNumBuckets = fConfig->uFromText(nb);
|
fAggNumBuckets = fConfig->uFromText(nb);
|
||||||
|
|
||||||
nr = fConfig->getConfig("RowAggregation", "RowAggrRowGroupsPerThread");
|
nr = fConfig->getConfig("RowAggregation", "RowAggrRowGroupsPerThread");
|
||||||
|
|
||||||
if (nr.empty())
|
if (nr.empty())
|
||||||
@@ -418,4 +418,3 @@ bool ResourceManager::getMemory(int64_t amount, boost::shared_ptr<int64_t> sessi
|
|||||||
|
|
||||||
|
|
||||||
} //namespace
|
} //namespace
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user