mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Merge pull request #7741 from TreeHunter9/master_wrong_assert_thrown
Fix wrong assert throw on validation
This commit is contained in:
commit
fb0c6070c2
@ -1026,7 +1026,10 @@ void CCH_fetch_page(thread_db* tdbb, WIN* window, const bool read_shadow)
|
||||
}
|
||||
}
|
||||
fb_assert(bdb->bdb_page == window->win_page);
|
||||
fb_assert(bdb->bdb_buffer->pag_pageno == window->win_page.getPageNum());
|
||||
fb_assert(bdb->bdb_buffer->pag_pageno == window->win_page.getPageNum() ||
|
||||
bdb->bdb_buffer->pag_type == pag_undefined &&
|
||||
bdb->bdb_buffer->pag_generation == 0 &&
|
||||
bdb->bdb_buffer->pag_scn == 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user