1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Fixed some linker errors, integrated the cloudio factory

into idbfactory.
This commit is contained in:
Patrick LeBlanc
2019-01-23 14:12:57 -06:00
parent 099c724ced
commit f063f78242
6 changed files with 29 additions and 10 deletions

View File

@ -30,7 +30,11 @@ SMFileSystem::SMFileSystem() : IDBFileSystem(IDBFileSystem::CLOUD)
SMComm::get(); // get SMComm running
}
int SMFileSystem::mkdir(const char *path) const
SMFileSystem::~SMFileSystem()
{
}
int SMFileSystem::mkdir(const char *path)
{
return 0;
}
@ -53,13 +57,13 @@ off64_t SMFileSystem::compressedSize(const char *filename) const
throw NotImplementedYet(__func__);
}
int SMFileSystem::remove(const char *filename) const
int SMFileSystem::remove(const char *filename)
{
SMComm *comm = SMComm::get();
return comm->unlink(filename);
}
int SMFileSystem::rename(const char *oldFile, const char *newFile) const
int SMFileSystem::rename(const char *oldFile, const char *newFile)
{
// This will actually be pretty expensive to do b/c we store the filename in
// the key in cloud. If we do this a lot, we'll have to implement copy() in the SM.