mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
e548dae8d9
v2: s/size/file_size/g
23 lines
493 B
C++
23 lines
493 B
C++
#include <IO/ReadBufferFromFileBase.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
ReadBufferFromFileBase::ReadBufferFromFileBase() : BufferWithOwnMemory<SeekableReadBuffer>(0)
|
|
{
|
|
}
|
|
|
|
ReadBufferFromFileBase::ReadBufferFromFileBase(
|
|
size_t buf_size,
|
|
char * existing_memory,
|
|
size_t alignment,
|
|
std::optional<size_t> file_size_)
|
|
: BufferWithOwnMemory<SeekableReadBuffer>(buf_size, existing_memory, alignment)
|
|
, file_size(file_size_)
|
|
{
|
|
}
|
|
|
|
ReadBufferFromFileBase::~ReadBufferFromFileBase() = default;
|
|
|
|
}
|