1
0
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:
Leonid Fedorov
2023-07-21 14:02:03 +03:00
committed by GitHub
parent 510bdd0e7b
commit 65cde8c894
14 changed files with 212 additions and 2 deletions

View File

@ -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