From fda75748b51d0dade234b5f6438bc8a2f8d71d23 Mon Sep 17 00:00:00 2001 From: sasha-s Date: Mon, 18 May 2015 11:07:12 -0700 Subject: use a shared lock in read-only mode https://github.com/boltdb/bolt/pull/371#issuecomment-103119486 --- bolt_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bolt_windows.go') diff --git a/bolt_windows.go b/bolt_windows.go index cfece39..783b633 100644 --- a/bolt_windows.go +++ b/bolt_windows.go @@ -16,7 +16,7 @@ func fdatasync(db *DB) error { } // flock acquires an advisory lock on a file descriptor. -func flock(f *os.File, _ time.Duration) error { +func flock(f *os.File, _ bool, _ time.Duration) error { return nil } -- cgit v1.2.3