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
feature: pron (#2908)
* feature: Special dictionary, we can pass with session veriable to modify codepaths and behaviour for testing and debugging
This commit is contained in:
@ -37,6 +37,8 @@ using namespace messageqcpp;
|
||||
#include "querystats.h"
|
||||
|
||||
#include "querytele.h"
|
||||
#include "utils/pron/pron.h"
|
||||
|
||||
using namespace querytele;
|
||||
|
||||
namespace
|
||||
@ -465,6 +467,7 @@ void CalpontSelectExecutionPlan::serialize(messageqcpp::ByteStream& b) const
|
||||
b << (uint8_t)fIsDML;
|
||||
messageqcpp::ByteStream::octbyte timeZone = fTimeZone;
|
||||
b << timeZone;
|
||||
b << fPron;
|
||||
}
|
||||
|
||||
void CalpontSelectExecutionPlan::unserialize(messageqcpp::ByteStream& b)
|
||||
@ -664,6 +667,8 @@ void CalpontSelectExecutionPlan::unserialize(messageqcpp::ByteStream& b)
|
||||
messageqcpp::ByteStream::octbyte timeZone;
|
||||
b >> timeZone;
|
||||
fTimeZone = timeZone;
|
||||
b >> fPron;
|
||||
utils::Pron::instance().pron(fPron);
|
||||
}
|
||||
|
||||
bool CalpontSelectExecutionPlan::operator==(const CalpontSelectExecutionPlan& t) const
|
||||
@ -818,4 +823,9 @@ void CalpontSelectExecutionPlan::rmParms(const RMParmVec& parms)
|
||||
frmParms.assign(parms.begin(), parms.end());
|
||||
}
|
||||
|
||||
void CalpontSelectExecutionPlan::pron(std::string&& pron)
|
||||
{
|
||||
fPron = pron;
|
||||
}
|
||||
|
||||
} // namespace execplan
|
||||
|
Reference in New Issue
Block a user