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(BRM): MCOL-5879 DBRM::clearShm runs crit sections w/o sync mechanism (#3390)
This commit is contained in:
@ -330,7 +330,7 @@ void partitionByValue_common(UDF_ARGS* args, // inp
|
||||
string functionName) // input
|
||||
{
|
||||
// identify partitions by the range
|
||||
BRM::DBRM::refreshShm();
|
||||
BRM::DBRM::refreshShmWithLock();
|
||||
DBRM em;
|
||||
vector<struct EMEntry> entries;
|
||||
vector<struct EMEntry>::iterator iter;
|
||||
@ -575,7 +575,7 @@ extern "C"
|
||||
const char* calshowpartitions(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned long* length,
|
||||
char* is_null, char* error)
|
||||
{
|
||||
BRM::DBRM::refreshShm();
|
||||
BRM::DBRM::refreshShmWithLock();
|
||||
DBRM em;
|
||||
vector<struct EMEntry> entries;
|
||||
vector<struct EMEntry>::iterator iter;
|
||||
@ -1170,7 +1170,7 @@ extern "C"
|
||||
const char* calshowpartitionsbyvalue(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned long* length,
|
||||
char* is_null, char* error)
|
||||
{
|
||||
BRM::DBRM::refreshShm();
|
||||
BRM::DBRM::refreshShmWithLock();
|
||||
DBRM em;
|
||||
vector<struct EMEntry> entries;
|
||||
vector<struct EMEntry>::iterator iter;
|
||||
|
Reference in New Issue
Block a user