1
0
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:
Patrick LeBlanc
2019-04-25 14:15:25 -05:00
parent 1dd328bbb1
commit 3c32f6d888
3 changed files with 8 additions and 1 deletions

View File

@ -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;