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-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)
|
||||
, wfqLimitStart(0)
|
||||
, wfqLimitCount(-1)
|
||||
, timeZone(0)
|
||||
{
|
||||
}
|
||||
ResourceManager* rm;
|
||||
|
@ -109,6 +109,8 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
|
||||
fSubJobInfo->stringTableThreshold = fOutJobInfo->stringTableThreshold;
|
||||
fSubJobInfo->localQuery = fOutJobInfo->localQuery;
|
||||
fSubJobInfo->uuid = fOutJobInfo->uuid;
|
||||
fSubJobInfo->timeZone = fOutJobInfo->timeZone;
|
||||
|
||||
fOutJobInfo->jobListPtr->addSubqueryJobList(fSubJobList);
|
||||
|
||||
fSubJobInfo->smallSideLimit = fOutJobInfo->smallSideLimit;
|
||||
|
Reference in New Issue
Block a user