-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perform short read filling before err checking
Sqlite requires zero'ing any extra space when there's a short read buffer. In the case that ReadAt returns a short io.EOF, we need to zero before returning the buffer and error. I don't think we were ever actually hitting the zeroing code before.
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 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