mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
fix
This commit is contained in:
parent
4841b31b56
commit
4233e2cca4
@ -1,5 +1,3 @@
|
||||
#include <DataStreams/ConvertingBlockInputStream.h>
|
||||
#include <DataStreams/OneBlockInputStream.h>
|
||||
#include <Formats/FormatFactory.h>
|
||||
#include <Interpreters/Context.h>
|
||||
#include <Processors/Executors/StreamingFormatExecutor.h>
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <Parsers/ASTLiteral.h>
|
||||
#include <Processors/Executors/CompletedPipelineExecutor.h>
|
||||
#include <Processors/Pipe.h>
|
||||
#include <Processors/Transforms/ExpressionTransform.h>
|
||||
#include <Storages/FileLog/FileLogSource.h>
|
||||
#include <Storages/FileLog/ReadBufferFromFileLog.h>
|
||||
#include <Storages/FileLog/StorageFileLog.h>
|
||||
@ -484,8 +483,8 @@ void StorageFileLog::closeFilesAndStoreMeta(size_t start, size_t end)
|
||||
|
||||
if (file_ctx.reader)
|
||||
{
|
||||
if ((*file_ctx.reader).is_open())
|
||||
(*file_ctx.reader).close();
|
||||
if (file_ctx.reader->is_open())
|
||||
file_ctx.reader->close();
|
||||
}
|
||||
|
||||
auto & meta = findInMap(file_infos.meta_by_inode, file_ctx.inode);
|
||||
|
Loading…
Reference in New Issue
Block a user