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
MCOL-3645 - Make ExeMgr destroy joblists in a different thread
Fixed a compiler warning.
This commit is contained in:
@@ -1088,7 +1088,7 @@ new_plan:
|
||||
// msgLog is global scope, and passed by copy, so, unclear
|
||||
// what the warning is about.
|
||||
destructing++;
|
||||
std::thread bgdtor([jl, &jlMutex, &jlCleanupDone, stmtID, &li, msgLog, &destructing] {
|
||||
std::thread bgdtor([jl, &jlMutex, &jlCleanupDone, stmtID, &li, &destructing] {
|
||||
std::unique_lock<std::mutex> scoped(jlMutex);
|
||||
const_cast<joblist::SJLP &>(jl).reset(); // this happens second; does real destruction
|
||||
logging::Message::Args args;
|
||||
|
Reference in New Issue
Block a user