Skip to content

Commit 1009e13

Browse files
committed
Fix UUID handling in backup/restore in YDB CLI (#17198)
1 parent 2304a6c commit 1009e13

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

include/ydb-cpp-sdk/client/value/value.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,3 +539,6 @@ class TValueBuilder : public TValueBuilderBase<TValueBuilder> {
539539
};
540540

541541
} // namespace NYdb
542+
543+
template<>
544+
void Out<NYdb::TUuidValue>(IOutputStream& o, const NYdb::TUuidValue& value);

src/client/value/value.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3374,3 +3374,8 @@ TValue TValueBuilder::Build() {
33743374
}
33753375

33763376
} // namespace NYdb
3377+
3378+
template<>
3379+
void Out<NYdb::TUuidValue>(IOutputStream& o, const NYdb::TUuidValue& value) {
3380+
o << value.ToString();
3381+
}

0 commit comments

Comments
 (0)