You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Merge pull request #1606 from dhall-MariaDB/MCOL-4397-dev
MCOL-4397 dev call refreshShm() for calshowpartitions
This commit is contained in:
@ -351,6 +351,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;
|
||||||
@ -607,6 +608,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;
|
||||||
@ -1269,6 +1271,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