-
-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FileStorage: Fix bug retrieving the first record
The file pointer is positioned at the line of the previously read record. When reading the next record, the current one is skipped. After opening the index file, the position is zero and reading the next record then skips the first record. The fix adds a flag that handles this corner-case.
- Loading branch information
1 parent
a7a4284
commit 698dc71
Showing
1 changed file
with
13 additions
and
2 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