mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
26 lines
491 B
C++
26 lines
491 B
C++
#include <IO/WriteBufferFromFileBase.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
WriteBufferFromFileBase::WriteBufferFromFileBase(size_t buf_size, char * existing_memory, size_t alignment)
|
|
: BufferWithOwnMemory<WriteBuffer>(buf_size, existing_memory, alignment)
|
|
{
|
|
}
|
|
|
|
WriteBufferFromFileBase::~WriteBufferFromFileBase()
|
|
{
|
|
}
|
|
|
|
off_t WriteBufferFromFileBase::seek(off_t off, int whence)
|
|
{
|
|
return doSeek(off, whence);
|
|
}
|
|
|
|
void WriteBufferFromFileBase::truncate(off_t length)
|
|
{
|
|
return doTruncate(length);
|
|
}
|
|
|
|
}
|