File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -796,15 +796,6 @@ func (s *valueScanner) setString(dst *string) {
796796 }
797797}
798798
799- func (s * valueScanner ) setUUIDStringWith1501Issue (dst * string ) {
800- switch t := s .stack .current ().t .GetTypeId (); t {
801- case Ydb .Type_UUID :
802- * dst = s .uuidBytesWithIssue1501 ().AsBrokenString ()
803- default :
804- _ = s .errorf (0 , "scan row failed: incorrect source types %s" , t )
805- }
806- }
807-
808799func (s * valueScanner ) setByte (dst * []byte ) {
809800 switch t := s .stack .current ().t .GetTypeId (); t {
810801 case Ydb .Type_UUID :
@@ -818,15 +809,6 @@ func (s *valueScanner) setByte(dst *[]byte) {
818809 }
819810}
820811
821- func (s * valueScanner ) setUUIDWithIssue1501Byte (dst * []byte ) {
822- switch t := s .stack .current ().t .GetTypeId (); t {
823- case Ydb .Type_UUID :
824- * dst = s .uuidBytesWithIssue1501 ().AsBytesSlice ()
825- default :
826- _ = s .errorf (0 , "scan row failed: incorrect source type %s" , t )
827- }
828- }
829-
830812func (s * valueScanner ) trySetByteArray (v interface {}, optional , def bool ) bool {
831813 rv := reflect .ValueOf (v )
832814 if rv .Kind () == reflect .Ptr {
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ func JSONValue(v string) Value { return value.JSONValue(v) }
157157func JSONValueFromBytes (v []byte ) Value { return value .JSONValue (xstring .FromBytes (v )) }
158158
159159// removed for https://github.com/ydb-platform/ydb-go-sdk/issues/1501
160- //func UUIDValue(v [16]byte) Value { return UUIDWithIssue1501Value(v) }
160+ // func UUIDValue(v [16]byte) Value { return UUIDWithIssue1501Value(v) }
161161
162162// UUIDBytesWithIssue1501Type is type wrapper for scan expected values for values stored with bug
163163// https://github.com/ydb-platform/ydb-go-sdk/issues/1501
You can’t perform that action at this time.
0 commit comments