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

Fix the mmap resize to use the correct size. #55

Merged
merged 1 commit into from
Feb 27, 2014

Conversation

benbjohnson
Copy link
Member

Previously the DB was calculating a minimum mmap size but using the wrong variable after it calculated the size. This commit changes the DB to use the correct variable.

Thanks to @cespare for catching the bug.

Fixes #54.

Fixes boltdb#54. Previously the DB was calculating a minimum mmap size but
using the wrong variable after it calculated the size. This commit
changes the DB to use the correct variable.
benbjohnson added a commit that referenced this pull request Feb 27, 2014
Fix the mmap resize to use the correct size.
@benbjohnson benbjohnson merged commit 9abba5d into boltdb:master Feb 27, 2014
@benbjohnson benbjohnson deleted the fix-mmap-resize branch February 27, 2014 21:37
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.

Index out of range crash
1 participant