Upgrade versions of vendored libs
This commit is contained in:
2
vendor/github.com/cockroachdb/pebble/internal/rangedel/rangedel.go
generated
vendored
2
vendor/github.com/cockroachdb/pebble/internal/rangedel/rangedel.go
generated
vendored
@@ -13,7 +13,7 @@ import (
|
||||
// closure with the encoded internal keys that represent the Span's state. The
|
||||
// keys and values passed to emit are only valid until the closure returns. If
|
||||
// emit returns an error, Encode stops and returns the error.
|
||||
func Encode(s keyspan.Span, emit func(k base.InternalKey, v []byte) error) error {
|
||||
func Encode(s *keyspan.Span, emit func(k base.InternalKey, v []byte) error) error {
|
||||
for _, k := range s.Keys {
|
||||
if k.Kind() != base.InternalKeyKindRangeDelete {
|
||||
return base.CorruptionErrorf("pebble: rangedel.Encode cannot encode %s key", k.Kind())
|
||||
|
||||
Reference in New Issue
Block a user