mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
Merge 10.6 into 10.7
This commit is contained in:
commit
7e8a13d9d7
134 changed files with 3656 additions and 3643 deletions
|
|
@ -328,19 +328,18 @@ buf_dump(
|
|||
for (bpage = UT_LIST_GET_FIRST(buf_pool.LRU), j = 0;
|
||||
bpage != NULL && j < n_pages;
|
||||
bpage = UT_LIST_GET_NEXT(LRU, bpage)) {
|
||||
|
||||
ut_a(bpage->in_file());
|
||||
const page_id_t id(bpage->id());
|
||||
const auto status = bpage->state();
|
||||
if (status < buf_page_t::UNFIXED) {
|
||||
ut_a(status >= buf_page_t::FREED);
|
||||
continue;
|
||||
}
|
||||
const page_id_t id{bpage->id()};
|
||||
|
||||
if (id.space() == SRV_TMP_SPACE_ID) {
|
||||
/* Ignore the innodb_temporary tablespace. */
|
||||
continue;
|
||||
}
|
||||
|
||||
if (bpage->status == buf_page_t::FREED) {
|
||||
continue;
|
||||
}
|
||||
|
||||
dump[j++] = id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue