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
MCOL-4397 dev call refreshShm() for calshowpartitions
This commit is contained in:
@ -623,6 +623,7 @@ void partitionByValue_common(UDF_ARGS* args, // input
|
|||||||
string functionName) // input
|
string functionName) // input
|
||||||
{
|
{
|
||||||
// identify partitions by the range
|
// identify partitions by the range
|
||||||
|
BRM::DBRM::refreshShm();
|
||||||
DBRM em;
|
DBRM em;
|
||||||
vector<struct EMEntry> entries;
|
vector<struct EMEntry> entries;
|
||||||
vector<struct EMEntry>::iterator iter;
|
vector<struct EMEntry>::iterator iter;
|
||||||
@ -1002,6 +1003,7 @@ extern "C"
|
|||||||
char* result, unsigned long* length,
|
char* result, unsigned long* length,
|
||||||
char* is_null, char* error)
|
char* is_null, char* error)
|
||||||
{
|
{
|
||||||
|
BRM::DBRM::refreshShm();
|
||||||
DBRM em;
|
DBRM em;
|
||||||
vector<struct EMEntry> entries;
|
vector<struct EMEntry> entries;
|
||||||
vector<struct EMEntry>::iterator iter;
|
vector<struct EMEntry>::iterator iter;
|
||||||
@ -1712,6 +1714,7 @@ extern "C"
|
|||||||
char* result, unsigned long* length,
|
char* result, unsigned long* length,
|
||||||
char* is_null, char* error)
|
char* is_null, char* error)
|
||||||
{
|
{
|
||||||
|
BRM::DBRM::refreshShm();
|
||||||
DBRM em;
|
DBRM em;
|
||||||
vector<struct EMEntry> entries;
|
vector<struct EMEntry> entries;
|
||||||
vector<struct EMEntry>::iterator iter;
|
vector<struct EMEntry>::iterator iter;
|
||||||
|
Reference in New Issue
Block a user