Skip to content

Commit 3726c67

Browse files
committed
remove unused
1 parent 8b59152 commit 3726c67

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

internal/table/scanner/scanner.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff 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-
808799
func (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-
830812
func (s *valueScanner) trySetByteArray(v interface{}, optional, def bool) bool {
831813
rv := reflect.ValueOf(v)
832814
if rv.Kind() == reflect.Ptr {

table/types/value.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func JSONValue(v string) Value { return value.JSONValue(v) }
157157
func 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

0 commit comments

Comments
 (0)