mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
21 lines
392 B
C++
21 lines
392 B
C++
|
#include <DB/IO/ReadBufferFromFileBase.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
ReadBufferFromFileBase::ReadBufferFromFileBase(size_t buf_size, char * existing_memory, size_t alignment)
|
||
|
: BufferWithOwnMemory<ReadBuffer>(buf_size, existing_memory, alignment)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
ReadBufferFromFileBase::~ReadBufferFromFileBase()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
off_t ReadBufferFromFileBase::seek(off_t off, int whence)
|
||
|
{
|
||
|
return doSeek(off, whence);
|
||
|
}
|
||
|
|
||
|
}
|