diff options
| author | uzhas <[email protected]> | 2023-10-17 18:42:24 +0300 |
|---|---|---|
| committer | uzhas <[email protected]> | 2023-10-17 19:21:05 +0300 |
| commit | c956902b9bd04fcbd41281426bf74d7acc1f9fc0 (patch) | |
| tree | 39d767c6997cd9fe706a9d176c52d30bc74f540e | |
| parent | e5d3c5e726a0065387976dc637990e0605757582 (diff) | |
fix coverity issue USE_AFTER_MOVE
| -rw-r--r-- | ydb/core/fq/libs/actors/run_actor.cpp | 3 |
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 */ |
