Commit 1b8f466c authored by marko's avatar marko

branches/zip: buf_page_get_gen(): When checking a guessed block,

also check buf_page_in_file().  This error was introduced in r1082.
parent 7fbc4f2b
...@@ -1505,9 +1505,10 @@ loop: ...@@ -1505,9 +1505,10 @@ loop:
block = guess; block = guess;
if (offset != block->page.offset if (offset != block->page.offset
|| space != block->page.space) { || space != block->page.space
|| !buf_page_in_file(&block->page)) {
block = NULL; block = guess = NULL;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment