Merge pull request #9120 from dolthub/nicktobey/bytearray

Consistently use pointer receiver for ByteArray.
This commit is contained in:
Nick Tobey
2025-05-01 16:30:56 -07:00
committed by GitHub
+1 -1
View File
@@ -185,7 +185,7 @@ func (b *ByteArray) UnwrapAny(ctx context.Context) (interface{}, error) {
}
// Unwrap implements sql.BytesWrapper
func (b ByteArray) Unwrap(ctx context.Context) ([]byte, error) {
func (b *ByteArray) Unwrap(ctx context.Context) ([]byte, error) {
return b.GetBytes(ctx)
}