aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/syndtr/goleveldb/leveldb/session.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-01-11 02:33:17 +0800
committerFelix Lange <fjl@twurst.com>2017-01-11 05:33:24 +0800
commitd78f9b834ade0f1ebcf2532bf90d01c85ad50a8e (patch)
treedd03906433e1032a0b185910773206246d8a1556 /vendor/github.com/syndtr/goleveldb/leveldb/session.go
parent02b67558e8eaa7b34a28b8dd0223824bbbb52349 (diff)
downloaddexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.gz
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.zst
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.zip
vendor: update all dependencies except Azure SDK
The Azure SDK doesn't support Go 1.5 anymore. We can't upgrade it until Go 1.8 comes out.
Diffstat (limited to 'vendor/github.com/syndtr/goleveldb/leveldb/session.go')
-rw-r--r--vendor/github.com/syndtr/goleveldb/leveldb/session.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/syndtr/goleveldb/leveldb/session.go b/vendor/github.com/syndtr/goleveldb/leveldb/session.go
index f3e747701..ad68a8703 100644
--- a/vendor/github.com/syndtr/goleveldb/leveldb/session.go
+++ b/vendor/github.com/syndtr/goleveldb/leveldb/session.go
@@ -47,6 +47,7 @@ type session struct {
o *cachedOptions
icmp *iComparer
tops *tOps
+ fileRef map[int64]int
manifest *journal.Writer
manifestWriter storage.Writer
@@ -69,6 +70,7 @@ func newSession(stor storage.Storage, o *opt.Options) (s *session, err error) {
s = &session{
stor: stor,
storLock: storLock,
+ fileRef: make(map[int64]int),
}
s.setOptions(o)
s.tops = newTableOps(s)