1
0
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:
david.hall
2022-12-07 09:52:00 -06:00
parent 8bb5731ddc
commit 369aea884e
2 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,7 @@ struct JobInfo
, stringScanThreshold(1)
, wfqLimitStart(0)
, wfqLimitCount(-1)
, timeZone(0)
{
}
ResourceManager* rm;

View File

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