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
[MCOL-5109] Make a singleton from ServicePrimProc.
This patch makes a singleton from ServicePrimProc.
This commit is contained in:
@ -850,7 +850,9 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy
|
||||
|
||||
ResourceManager* rm = ResourceManager::instance(true);
|
||||
DistributedEngineComm* fEc = DistributedEngineComm::instance(rm);
|
||||
SJLP jl = JobListFactory::makeJobList(&csep, rm, true);
|
||||
PrimitiveServerThreadPools dummyPrimitiveServerThreadPools;
|
||||
|
||||
SJLP jl = JobListFactory::makeJobList(&csep, rm, dummyPrimitiveServerThreadPools, true);
|
||||
//@bug 2221. Work around to prevent DMLProc crash.
|
||||
int retryNum = 0;
|
||||
|
||||
@ -864,7 +866,7 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy
|
||||
#else
|
||||
sleep(1);
|
||||
#endif
|
||||
jl = JobListFactory::makeJobList(&csep, rm, true);
|
||||
jl = JobListFactory::makeJobList(&csep, rm, dummyPrimitiveServerThreadPools, true);
|
||||
retryNum++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user