summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruzhas <[email protected]>2023-10-17 18:42:24 +0300
committeruzhas <[email protected]>2023-10-17 19:21:05 +0300
commitc956902b9bd04fcbd41281426bf74d7acc1f9fc0 (patch)
tree39d767c6997cd9fe706a9d176c52d30bc74f540e
parente5d3c5e726a0065387976dc637990e0605757582 (diff)
fix coverity issue USE_AFTER_MOVE
-rw-r--r--ydb/core/fq/libs/actors/run_actor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/core/fq/libs/actors/run_actor.cpp b/ydb/core/fq/libs/actors/run_actor.cpp
index 4e3abaef4f1..93c9f4c417d 100644
--- a/ydb/core/fq/libs/actors/run_actor.cpp
+++ b/ydb/core/fq/libs/actors/run_actor.cpp
@@ -2239,7 +2239,8 @@ IActor* CreateRunActor(
const ::NYql::NCommon::TServiceCounters& serviceCounters,
TRunActorParams&& params
) {
- return new NYql::NDq::TLogWrapReceive(new TRunActor(fetcherId, serviceCounters, std::move(params)), params.QueryId);
+ auto queryId = params.QueryId;
+ return new NYql::NDq::TLogWrapReceive(new TRunActor(fetcherId, serviceCounters, std::move(params)), queryId);
}
} /* NFq */