You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Added SMDataFile::fallocate(), it's just a call to truncate() for now.
Updated ref of storage-manager subproject.
This commit is contained in:
@ -95,6 +95,12 @@ int SMDataFile::truncate(off64_t length)
|
||||
return comm->truncate(name(), length);
|
||||
}
|
||||
|
||||
int SMDataFile::fallocate(int mode, off64_t offset, off64_t length)
|
||||
{
|
||||
idbassert_s(mode == 0, "SMDataFile::fallocate() does not support mode != 0 right now.");
|
||||
return comm->truncate(name(), offset + length);
|
||||
}
|
||||
|
||||
off64_t SMDataFile::size()
|
||||
{
|
||||
struct stat _stat;
|
||||
|
Reference in New Issue
Block a user