You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-5311 Add timezone to jobList in subquerytransformer
TimeZone was uninitialized in this scenario and led to undefined behavior.
This commit is contained in:
@ -210,6 +210,7 @@ struct JobInfo
|
|||||||
, stringScanThreshold(1)
|
, stringScanThreshold(1)
|
||||||
, wfqLimitStart(0)
|
, wfqLimitStart(0)
|
||||||
, wfqLimitCount(-1)
|
, wfqLimitCount(-1)
|
||||||
|
, timeZone(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
ResourceManager* rm;
|
ResourceManager* rm;
|
||||||
|
@ -109,6 +109,8 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
|
|||||||
fSubJobInfo->stringTableThreshold = fOutJobInfo->stringTableThreshold;
|
fSubJobInfo->stringTableThreshold = fOutJobInfo->stringTableThreshold;
|
||||||
fSubJobInfo->localQuery = fOutJobInfo->localQuery;
|
fSubJobInfo->localQuery = fOutJobInfo->localQuery;
|
||||||
fSubJobInfo->uuid = fOutJobInfo->uuid;
|
fSubJobInfo->uuid = fOutJobInfo->uuid;
|
||||||
|
fSubJobInfo->timeZone = fOutJobInfo->timeZone;
|
||||||
|
|
||||||
fOutJobInfo->jobListPtr->addSubqueryJobList(fSubJobList);
|
fOutJobInfo->jobListPtr->addSubqueryJobList(fSubJobList);
|
||||||
|
|
||||||
fSubJobInfo->smallSideLimit = fOutJobInfo->smallSideLimit;
|
fSubJobInfo->smallSideLimit = fOutJobInfo->smallSideLimit;
|
||||||
|
Reference in New Issue
Block a user