diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2016-04-24 14:09:45 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2016-04-24 14:09:45 -0600 |
commit | a5aec31dc3d13cbd7c0e6faca7489835b0b7e27a (patch) | |
tree | d4775957ac2ec92ba8d37b39c386ea340a4e6473 /errors.go | |
parent | Merge branch '548-fix-errors-with-unsynced-metadata' of https://github.com/cy... (diff) | |
download | dedo-a5aec31dc3d13cbd7c0e6faca7489835b0b7e27a.tar.gz dedo-a5aec31dc3d13cbd7c0e6faca7489835b0b7e27a.tar.xz |
add additional meta page tests
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ var ( // already open. ErrDatabaseOpen = errors.New("database already open") - // ErrInvalid is returned when a data file is not a Bolt-formatted database. + // ErrInvalid is returned when both meta pages on a database are invalid. + // This typically occurs when a file is not a bolt database. ErrInvalid = errors.New("invalid database") // ErrVersionMismatch is returned when the data file was created with a |