-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces a version number to the manifest file. Version numbering starts with 1, 0 is an invalid version. Magic number is set to bytes equivalent to the ASCII string `NOMT`. This also adds validation rules: invalid magic is rejected. Version less than 1 is rejected. Also the validation code will reject all versions above the current one assuming they will introduce incompatibilities. I anticipate that we can preserve backward compatibility in some cases and therefore opening db formats with lower version might be possible. If not, then a validation error should also be returned. Closes THR-36
- Loading branch information
Showing
3 changed files
with
56 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters