Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Fix db.munmap() to return an error. #71

Merged
merged 1 commit into from
Mar 21, 2014

Conversation

benbjohnson
Copy link
Member

Changes DB.munmap() to return an error and the DB now implements io.Closer. I also removed all the OS and Syscall mocking because it's causing issues. Corrupt file tests need to be recreated but directly using the file system instead.

Fixes #70.

/cc @pkorotkov

Changes munmap to return an error and the DB now implements io.Closer.
I also removed all the OS and Syscall mocking because it's causing issues.
Corrupt file tests need to be recreated but directly using the file system
instead.
benbjohnson added a commit that referenced this pull request Mar 21, 2014
Fix db.munmap() to return an error.
@benbjohnson benbjohnson merged commit e86296e into boltdb:master Mar 21, 2014
@benbjohnson benbjohnson deleted the munmap-fix branch March 21, 2014 19:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: Return an error instead of panic in (*DB).munmap
1 participant