mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
branches/zip: buf_page_get_gen(): When checking a guessed block,
also check buf_page_in_file(). This error was introduced in r1082.
This commit is contained in:
parent
54c7dd7418
commit
afeec303bd
1 changed files with 3 additions and 2 deletions
|
@ -1505,9 +1505,10 @@ loop:
|
|||
block = guess;
|
||||
|
||||
if (offset != block->page.offset
|
||||
|| space != block->page.space) {
|
||||
|| space != block->page.space
|
||||
|| !buf_page_in_file(&block->page)) {
|
||||
|
||||
block = NULL;
|
||||
block = guess = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue