1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-13 23:02:14 +03:00

Implemented IOC::open() + updated unit test

This commit is contained in:
Patrick LeBlanc
2019-03-28 16:05:18 -05:00
parent a2897e593a
commit 9be168eb64
4 changed files with 62 additions and 32 deletions

View File

@@ -134,8 +134,12 @@ bool opentask()
assert(_stat->st_size == 0);
/* verify the file is there */
assert(boost::filesystem::exists(filename));
::unlink(filename);
string metaPath = Config::get()->getValue("ObjectStorage", "metadata_path");
assert(!metaPath.empty());
metaPath += string("/") + filename + ".meta";
assert(boost::filesystem::exists(metaPath));
::unlink(metaPath.c_str());
cout << "opentask OK" << endl;
return true;
}