You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-18 13:54:11 +03:00
Got a basic unit test to work for IOC::read()
This commit is contained in:
@@ -26,10 +26,13 @@ struct metadataObject {
|
||||
class MetadataFile
|
||||
{
|
||||
public:
|
||||
struct no_create_t {};
|
||||
MetadataFile();
|
||||
MetadataFile(const char* filename);
|
||||
MetadataFile(const char* filename, no_create_t); // this one won't create it if it doesn't exist
|
||||
~MetadataFile();
|
||||
|
||||
bool exists();
|
||||
void printObjects();
|
||||
// returns the objects needed to update
|
||||
std::vector<metadataObject> metadataRead(off_t offset, size_t length);
|
||||
@@ -59,6 +62,7 @@ class MetadataFile
|
||||
size_t mObjectSize;
|
||||
std::string msMetadataPath;
|
||||
std::set<metadataObject> mObjects;
|
||||
bool _exists;
|
||||
//vector<metadataObject> mObjects;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user