diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-03-10 17:39:20 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-03-10 18:57:59 +0800 |
commit | ea19e61fbaeb29fc9047419cb138d5ca0f2021fc (patch) | |
tree | db52b61b2073c42a8148f7b713fe388ea520d089 /Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go | |
parent | edd7aa054c0f9860c799748439255722e51feccc (diff) | |
download | go-tangerine-ea19e61fbaeb29fc9047419cb138d5ca0f2021fc.tar.gz go-tangerine-ea19e61fbaeb29fc9047419cb138d5ca0f2021fc.tar.zst go-tangerine-ea19e61fbaeb29fc9047419cb138d5ca0f2021fc.zip |
Godeps: update goleveldb to fix a compaction data race
Diffstat (limited to 'Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go b/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go index 37c1e146b..e961e420d 100644 --- a/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go +++ b/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go @@ -15,7 +15,7 @@ type iFilter struct { } func (f iFilter) Contains(filter, key []byte) bool { - return f.Filter.Contains(filter, iKey(key).ukey()) + return f.Filter.Contains(filter, internalKey(key).ukey()) } func (f iFilter) NewGenerator() filter.FilterGenerator { @@ -27,5 +27,5 @@ type iFilterGenerator struct { } func (g iFilterGenerator) Add(key []byte) { - g.FilterGenerator.Add(iKey(key).ukey()) + g.FilterGenerator.Add(internalKey(key).ukey()) } |