1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

fix(threadpool): MCOL-5645 errenous threadpool Job ctor implictly sets socket shared_ptr to nullptr causing sigabrt when threadpool returns an error (#3125)

This commit is contained in:
drrtuy
2024-02-12 11:33:24 +02:00
committed by GitHub
parent a0abfa0e68
commit 0ff88e860f
3 changed files with 2 additions and 27 deletions

View File

@ -1967,7 +1967,7 @@ struct ReadThread
id = fBPPHandler->getUniqueID(sbs, ismHdr->Command);
functor.reset(new BPPHandler::Abort(fBPPHandler, sbs));
}
PriorityThreadPool::Job job(uniqueID, stepID, txnId, functor, weight, priority, id);
PriorityThreadPool::Job job(uniqueID, stepID, txnId, functor, outIos, weight, priority, id);
OOBProcPool->addJob(job);
break;
}