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
This patch fixes nullptr dereferencing in the same node queue thread
This commit is contained in:
@ -2359,11 +2359,11 @@ void PrimitiveServer::start(Service* service, utils::USpaceSpinLock& startupRace
|
||||
[this]()
|
||||
{
|
||||
utils::setThreadName("PPSHServerThr");
|
||||
auto* exeMgrDecPtr = exemgr::globServiceExeMgr->getDec();
|
||||
auto* exeMgrDecPtr = (exemgr::globServiceExeMgr) ? exemgr::globServiceExeMgr->getDec() : nullptr;
|
||||
while (!exeMgrDecPtr)
|
||||
{
|
||||
sleep(1);
|
||||
exeMgrDecPtr = exemgr::globServiceExeMgr->getDec();
|
||||
exeMgrDecPtr = (exemgr::globServiceExeMgr) ? exemgr::globServiceExeMgr->getDec() : nullptr;
|
||||
}
|
||||
// These empty SPs have "same-host" messaging semantics.
|
||||
SP_UM_IOSOCK outIos(nullptr);
|
||||
|
Reference in New Issue
Block a user