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
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]()
|
[this]()
|
||||||
{
|
{
|
||||||
utils::setThreadName("PPSHServerThr");
|
utils::setThreadName("PPSHServerThr");
|
||||||
auto* exeMgrDecPtr = exemgr::globServiceExeMgr->getDec();
|
auto* exeMgrDecPtr = (exemgr::globServiceExeMgr) ? exemgr::globServiceExeMgr->getDec() : nullptr;
|
||||||
while (!exeMgrDecPtr)
|
while (!exeMgrDecPtr)
|
||||||
{
|
{
|
||||||
sleep(1);
|
sleep(1);
|
||||||
exeMgrDecPtr = exemgr::globServiceExeMgr->getDec();
|
exeMgrDecPtr = (exemgr::globServiceExeMgr) ? exemgr::globServiceExeMgr->getDec() : nullptr;
|
||||||
}
|
}
|
||||||
// These empty SPs have "same-host" messaging semantics.
|
// These empty SPs have "same-host" messaging semantics.
|
||||||
SP_UM_IOSOCK outIos(nullptr);
|
SP_UM_IOSOCK outIos(nullptr);
|
||||||
|
Reference in New Issue
Block a user