vendor: update leveldb

This commit is contained in:
Martin Holst Swende
2018-11-28 20:53:02 +01:00
parent 695a5cce1e
commit 8380a1303c
11 changed files with 76 additions and 68 deletions

View File

@ -182,7 +182,7 @@ func Open(stor storage.Storage, o *opt.Options) (db *DB, err error) {
err = s.recover()
if err != nil {
if !os.IsNotExist(err) || s.o.GetErrorIfMissing() {
if !os.IsNotExist(err) || s.o.GetErrorIfMissing() || s.o.GetReadOnly() {
return
}
err = s.create()