Fixed wrong logic [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-11-18 00:00:29 +03:00
parent 7cf5eaddc0
commit 8425c56c0f

View File

@ -212,7 +212,7 @@ void BackgroundSchedulePool::threadFunction()
if (notification)
{
TaskNotification & task_notification = static_cast<TaskNotification &>(notification.get());
TaskNotification & task_notification = static_cast<TaskNotification &>(*notification);
task_notification.execute();
}
}