Skip to content

Commit f12f073

Browse files
authored
Fix use after free (#11239)
1 parent 88a3da0 commit f12f073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/kqp/opt/kqp_query_plan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,10 +1458,10 @@ class TxPlanSerializer {
14581458
op.Properties["Name"] = name;
14591459
op.Properties["Condition"] = MakeJoinConditionString(join.LeftKeysColumnNames(), join.RightKeysColumnNames());
14601460

1461-
auto operatorId = AddOperator(planNode, name, std::move(op));
1462-
14631461
AddOptimizerEstimates(op, join);
14641462

1463+
auto operatorId = AddOperator(planNode, name, std::move(op));
1464+
14651465
Visit(flatMap, planNode);
14661466

14671467
return operatorId;

0 commit comments

Comments
 (0)