mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
MDEV-6160: InnoDB: Failing assertion: page_is_comp(next_page) == page_is_comp(page)
This is not yet a fix. This is change to print additional information at the point when this assertion is going to happen. Print as much information about the pages and index to find out why next page is not a compact format.
This commit is contained in:
parent
53612e7787
commit
772aa0c575
10 changed files with 666 additions and 36 deletions
|
|
@ -467,6 +467,21 @@ fil_space_get_by_id(
|
|||
return(space);
|
||||
}
|
||||
|
||||
/*******************************************************************//**
|
||||
Returns the table space name for a given id, NULL if not found. */
|
||||
const char*
|
||||
fil_space_get_name(
|
||||
/*================*/
|
||||
ulint id) /*!< in: space id */
|
||||
{
|
||||
fil_space_t* space;
|
||||
|
||||
mutex_enter(&fil_system->mutex);
|
||||
space = fil_space_get_by_id(id);
|
||||
mutex_exit(&fil_system->mutex);
|
||||
|
||||
return (space == NULL ? NULL : space->name);
|
||||
}
|
||||
/*******************************************************************//**
|
||||
Returns the table space by a given name, NULL if not found. */
|
||||
UNIV_INLINE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue