mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-12 19:39:32 -05:00
Merge pull request #9120 from dolthub/nicktobey/bytearray
Consistently use pointer receiver for ByteArray.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user