Skip to content

Commit

Permalink
Issue #8932, incorrect check of magic number is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Jul 2, 2019
1 parent c845ce8 commit cc8c869
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public OCacheEntry loadPageForWrite(long fileId, final long pageIndex, final boo

if (checkChangesFilledUpTo(changesContainer, pageIndex)) {
if (pageChangesContainer == null) {
final OCacheEntry delegate = readCache.loadForRead(fileId, pageIndex, checkPinnedPages, writeCache, pageCount, true);
final OCacheEntry delegate = readCache.loadForRead(fileId, pageIndex, checkPinnedPages,
writeCache, pageCount, verifyChecksum);
if (delegate != null) {
pageChangesContainer = new OCacheEntryChanges(verifyChecksum);
changesContainer.pageChangesMap.put(pageIndex, pageChangesContainer);
Expand Down

0 comments on commit cc8c869

Please sign in to comment.