You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-12 11:01:17 +03:00
Fixed a few random things.
This commit is contained in:
@@ -384,7 +384,12 @@ void Cache::rename(const string &oldKey, const string &newKey, ssize_t sizediff)
|
||||
{
|
||||
boost::unique_lock<boost::mutex> s(lru_mutex);
|
||||
auto it = m_lru.find(oldKey);
|
||||
assert(it != m_lru.end());
|
||||
//assert(it != m_lru.end());
|
||||
if (it == m_lru.end())
|
||||
{
|
||||
logger->log(LOG_ERR, "Cache: was told to rename %s, but it does not exist", oldKey.string().c_str());
|
||||
assert(0);
|
||||
}
|
||||
|
||||
auto lit = it->lit;
|
||||
m_lru.erase(it);
|
||||
|
||||
Reference in New Issue
Block a user