Skip to content

Commit

Permalink
Revert "[fix](executor) only mysql connect to set GlobalPipelineTask (a…
Browse files Browse the repository at this point in the history
…pache#22205)"

This reverts commit 25f2619.
  • Loading branch information
HappenLee committed Aug 4, 2023
1 parent 672acb8 commit bae363d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public ConnectContext(StreamConnection connection) {
mysqlChannel = new DummyMysqlChannel();
}
sessionVariable = VariableMgr.newSessionVariable();
if (connection != null && isMajorVersionUpgrade) {
if (isMajorVersionUpgrade) {
VariableMgr.setGlobalPipelineTask(sessionVariable.parallelExecInstanceNum);
sessionVariable = VariableMgr.newSessionVariable();
}
Expand Down

0 comments on commit bae363d

Please sign in to comment.