Skip to content

Commit c40f84f

Browse files
dcherednikmaximyurchuk
authored andcommitted
Fix using uninitialized value error. (ydb-platform#7029)
1 parent 19756b2 commit c40f84f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ydb/core/kqp/opt/kqp_query_plan.cpp

+1-3
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)