Skip to content

Commit

Permalink
24-3 Fix using uninitialized value error. (#7224)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniil Cherednik <dcherednik@ydb.tech>
  • Loading branch information
maximyurchuk and dcherednik authored Jul 30, 2024
1 parent 06b43aa commit 63e04e6
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 63e04e6

Please sign in to comment.