You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Fix: grabEMIndex for loadFromBinaryBlob
This commit is contained in:
@ -1840,6 +1840,7 @@ struct EMBinaryReader
|
|||||||
void ExtentMap::loadFromBinaryBlob(const char* blob)
|
void ExtentMap::loadFromBinaryBlob(const char* blob)
|
||||||
{
|
{
|
||||||
grabEMEntryTable(WRITE);
|
grabEMEntryTable(WRITE);
|
||||||
|
grabEMIndex(WRITE);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -1847,6 +1848,7 @@ void ExtentMap::loadFromBinaryBlob(const char* blob)
|
|||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
releaseEMIndex(WRITE);
|
||||||
releaseEMEntryTable(WRITE);
|
releaseEMEntryTable(WRITE);
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
@ -6562,4 +6564,4 @@ template int ExtentMap::getMaxMin<int128_t>(const LBID_t lbidRange, int128_t& ma
|
|||||||
template int ExtentMap::getMaxMin<int64_t>(const LBID_t lbidRange, int64_t& max, int64_t& min,
|
template int ExtentMap::getMaxMin<int64_t>(const LBID_t lbidRange, int64_t& max, int64_t& min,
|
||||||
int32_t& seqNum);
|
int32_t& seqNum);
|
||||||
|
|
||||||
} // namespace BRM
|
} // namespace BRM
|
||||||
|
Reference in New Issue
Block a user