1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-15 12:09:09 +03:00

Checkpointing a bunch of edge-case fixes I made and mistakenly mushed

together with the cache size consistency code.
This commit is contained in:
Patrick LeBlanc
2019-07-02 11:12:29 -05:00
parent cca5e21c24
commit 2722da0b40
12 changed files with 160 additions and 53 deletions

View File

@@ -326,6 +326,11 @@ void MetadataFile::removeEntry(off_t offset)
mObjects.erase(it);
}
void MetadataFile::removeAllEntries()
{
mObjects.clear();
}
// There are more efficient ways to do it. Optimize if necessary.
void MetadataFile::breakout(const string &key, vector<string> &ret)
{