1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00

Fixed some stuff, got a basic unit test for sync to work.

This commit is contained in:
Patrick LeBlanc
2019-03-21 15:23:23 -05:00
parent 719cf3f2fa
commit 323fd18953
9 changed files with 91 additions and 38 deletions

View File

@@ -43,7 +43,7 @@ class MetadataFile
metadataObject addMetadataObject(const char *filename, size_t length);
// TBD: this may have to go; there may be no use case where only the uuid needs to change.
static std::string getNewKeyFromOldKey(std::string oldKey, size_t length=0);
static std::string getNewKeyFromOldKey(const std::string &oldKey, size_t length=0);
static std::string getNewKey(std::string sourceName, size_t offset, size_t length);
static off_t getOffsetFromKey(const std::string &key);
static std::string getSourceFromKey(const std::string &key);