Skip to content

Commit

Permalink
Fix using uninitialized value error. (#7029)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherednik authored and maximyurchuk committed Jul 29, 2024
1 parent 19756b2 commit c40f84f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ydb/core/kqp/opt/kqp_query_plan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,7 @@ class TxPlanSerializer {
}

if (auto literal = key.Maybe<TCoUuid>()) {
TStringStream out;
NUuid::UuidBytesToString(literal.Cast().Literal().Value().Data(), out);
return out.Str();
return NUuid::UuidBytesToString(literal.Cast().Literal().StringValue());
}

if (auto literal = key.Maybe<TCoDataCtor>()) {
Expand Down

0 comments on commit c40f84f

Please sign in to comment.