vendor: Update github.com/syndtr/goleveldb, minor bugfixes

This commit is contained in:
Jakob Borg
2017-11-05 10:56:24 +01:00
parent 7cbd92e1b1
commit d304498027
6 changed files with 26 additions and 8 deletions

View File

@@ -844,7 +844,7 @@ func (db *DB) Get(key []byte, ro *opt.ReadOptions) (value []byte, err error) {
// Has returns true if the DB does contains the given key.
//
// It is safe to modify the contents of the argument after Get returns.
// It is safe to modify the contents of the argument after Has returns.
func (db *DB) Has(key []byte, ro *opt.ReadOptions) (ret bool, err error) {
err = db.ok()
if err != nil {