Skip to content

Commit ef980d3

Browse files
committed
Fix using uninitialized value error.
ydb-platform#7009
1 parent c12733d commit ef980d3

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
@@ -592,9 +592,7 @@ class TxPlanSerializer {
592592
}
593593

594594
if (auto literal = key.Maybe<TCoUuid>()) {
595-
TStringStream out;
596-
NUuid::UuidBytesToString(literal.Cast().Literal().Value().Data(), out);
597-
return out.Str();
595+
return NUuid::UuidBytesToString(literal.Cast().Literal().StringValue());
598596
}
599597

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

0 commit comments

Comments
 (0)