Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db.go: clean up file descriptor on init/read failures #89

Merged
merged 2 commits into from
Mar 18, 2018
Merged

db.go: clean up file descriptor on init/read failures #89

merged 2 commits into from
Mar 18, 2018

Commits on Mar 17, 2018

  1. Clean up file descriptors on failed database initialization

    Fixes an issue where failing to open a non-existent database in ReadOnly
    mode would make you unable to properly initialize it in ReadWrite mode
    afterwards due to a hanging lock.
    cj-dimaggio authored and gyuho committed Mar 17, 2018
    Configuration menu
    Copy the full SHA
    818c231 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2018

  1. db.go: clean up file descriptor on db.file.ReadAt fail

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Mar 18, 2018
    Configuration menu
    Copy the full SHA
    3130a60 View commit details
    Browse the repository at this point in the history