diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-22 10:10:55 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-22 10:10:55 -0600 |
commit | 4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5 (patch) | |
tree | 03190de76962bf6166752f086c1abd83bb965ec3 /cmd/bolt/main_test.go | |
parent | Merge pull request #209 from benbjohnson/next-seq-uint64 (diff) | |
parent | Add Open() options, flock timeout. (diff) | |
download | dedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.gz dedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.xz |
Merge pull request #208 from benbjohnson/open-timeout
Add Open() options, flock timeout.
Diffstat (limited to 'cmd/bolt/main_test.go')
-rw-r--r-- | cmd/bolt/main_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bolt/main_test.go b/cmd/bolt/main_test.go index 9b32cc8..0614d43 100644 --- a/cmd/bolt/main_test.go +++ b/cmd/bolt/main_test.go @@ -14,7 +14,7 @@ func open(fn func(*bolt.DB, string)) { path := tempfile() defer os.RemoveAll(path) - db, err := bolt.Open(path, 0600) + db, err := bolt.Open(path, 0600, nil) if err != nil { panic("db open error: " + err.Error()) } |