Skip to content

Commit 63e04e6

Browse files
24-3 Fix using uninitialized value error. (#7224)
Co-authored-by: Daniil Cherednik <dcherednik@ydb.tech>
1 parent 06b43aa commit 63e04e6

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)