aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruzhas <uzhas@ydb.tech>2023-10-10 17:52:50 +0300
committeruzhas <uzhas@ydb.tech>2023-10-10 18:27:58 +0300
commit88d497e2725a0295d317ef9ace79ec35a9266b61 (patch)
tree10020455e811200fb4027d980059c555db4f6f83
parentc61b1fabd502ba5dae5085785cb56e4ec724527b (diff)
downloadydb-88d497e2725a0295d317ef9ace79ec35a9266b61.tar.gz
fix "Evaluation order violation" coverity issue
-rw-r--r--ydb/library/yql/dq/opt/dq_opt_join.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/library/yql/dq/opt/dq_opt_join.cpp b/ydb/library/yql/dq/opt/dq_opt_join.cpp
index 3045447ba9..bf950ff54c 100644
--- a/ydb/library/yql/dq/opt/dq_opt_join.cpp
+++ b/ydb/library/yql/dq/opt/dq_opt_join.cpp
@@ -1477,8 +1477,9 @@ TExprBase DqBuildHashJoin(const TDqJoin& join, EHashJoinMode mode, TExprContext&
for (const auto& colName : fullColNames) {
parent.List(i)
.Atom(0, colName)
- .Arg(1, "output", i++)
+ .Arg(1, "output", i)
.Seal();
+ i++;
}
return parent;
})