Merge pull request #49411 from ClickHouse/kssenii-patch-7

Update FileSegment.cpp
This commit is contained in:
Kseniia Sumarokova 2023-05-03 11:50:13 +02:00 committed by GitHub
commit 59401ce93c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ FileSegment::FileSegment(
, key_metadata(key_metadata_)
, queue_iterator(queue_iterator_)
, cache(cache_)
#ifndef NDEBUG
#ifdef ABORT_ON_LOGICAL_ERROR
, log(&Poco::Logger::get(fmt::format("FileSegment({}) : {}", key_.toString(), range().toString())))
#else
, log(&Poco::Logger::get("FileSegment"))