+ fix goleveldb's BytesSafeAfterClose() on reader
- it should be set to false
This commit is contained in:
parent
a2b7740db7
commit
a62320a50e
@ -28,7 +28,7 @@ func newReader(store *Store) (*Reader, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *Reader) BytesSafeAfterClose() bool {
|
func (r *Reader) BytesSafeAfterClose() bool {
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *Reader) Get(key []byte) ([]byte, error) {
|
func (r *Reader) Get(key []byte) ([]byte, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user