Change thread name for DDLWorker executor threads

This commit is contained in:
Azat Khuzhin 2020-09-17 21:07:14 +03:00
parent 9c7f3a9a74
commit c9baceb760

View File

@ -515,6 +515,7 @@ void DDLWorker::scheduleTasks()
{
worker_pool.scheduleOrThrowOnError([this, task_ptr = task.release()]()
{
setThreadName("DDLWorkerExec");
enqueueTask(DDLTaskPtr(task_ptr));
});
}