Skip to content

Commit d785c41

Browse files
committed
Fix using uninitialized value error. (ydb-platform#7029)
1 parent 4eb6288 commit d785c41

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ydb/core/kqp/opt/kqp_query_plan.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,7 @@ class TxPlanSerializer {
561561
}
562562

563563
if (auto literal = key.Maybe<TCoUuid>()) {
564-
TStringStream out;
565-
NUuid::UuidBytesToString(literal.Cast().Literal().Value().Data(), out);
566-
return out.Str();
564+
return NUuid::UuidBytesToString(literal.Cast().Literal().StringValue());
567565
}
568566

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

0 commit comments

Comments
 (0)