mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
better
This commit is contained in:
parent
ad4459c4a2
commit
cac7972837
@ -1707,11 +1707,10 @@ std::shared_ptr<TextLog> Context::getTextLog()
|
||||
{
|
||||
auto lock = getLock();
|
||||
|
||||
if (!shared->system_logs) {
|
||||
if (auto log = shared->system_logs->text_log.lock()) {
|
||||
if (!shared->system_logs)
|
||||
if (auto log = shared->system_logs->text_log.lock())
|
||||
return log;
|
||||
}
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user