mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02: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();
|
auto lock = getLock();
|
||||||
|
|
||||||
if (!shared->system_logs) {
|
if (!shared->system_logs)
|
||||||
if (auto log = shared->system_logs->text_log.lock()) {
|
if (auto log = shared->system_logs->text_log.lock())
|
||||||
return log;
|
return log;
|
||||||
}
|
|
||||||
}
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user