mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fixed tests
This commit is contained in:
parent
50309dfd90
commit
bccd8b5e27
@ -422,7 +422,10 @@ LoggerPtr Logger::createShared(const std::string & name, Channel * pChannel, int
|
|||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock(getLoggerMutex());
|
std::lock_guard<std::mutex> lock(getLoggerMutex());
|
||||||
|
|
||||||
return makeLoggerPtr(unsafeCreate(name, pChannel, level));
|
Logger & logger = unsafeCreate(name, pChannel, level);
|
||||||
|
_pLoggerMap->find(name)->second.owned_by_shared_ptr = true;
|
||||||
|
|
||||||
|
return makeLoggerPtr(logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger& Logger::root()
|
Logger& Logger::root()
|
||||||
|
Loading…
Reference in New Issue
Block a user