You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-15 12:09:09 +03:00
Minor optimization I came across.
This commit is contained in:
@@ -323,7 +323,7 @@ void MetadataFile::removeEntry(off_t offset)
|
|||||||
const auto &it = mObjects.find(offset);
|
const auto &it = mObjects.find(offset);
|
||||||
assert(it != mObjects.end());
|
assert(it != mObjects.end());
|
||||||
|
|
||||||
mObjects.erase(offset);
|
mObjects.erase(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
// There are more efficient ways to do it. Optimize if necessary.
|
// There are more efficient ways to do it. Optimize if necessary.
|
||||||
|
|||||||
Reference in New Issue
Block a user