mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-14606 Assertion failure on IMPORT TABLESPACE
fseg_alloc_free_page_low(): Remove a bogus and redundant assertion about fil_space_t::purpose. The debug function fsp_space_modify_check() is asserting something similar, but more accurately.
This commit is contained in:
parent
578b26598a
commit
dfafe15abb
1 changed files with 0 additions and 2 deletions
|
@ -2446,8 +2446,6 @@ fseg_alloc_free_page_low(
|
|||
ut_ad(mach_read_from_4(seg_inode + FSEG_MAGIC_N)
|
||||
== FSEG_MAGIC_N_VALUE);
|
||||
ut_ad(!((page_offset(seg_inode) - FSEG_ARR_OFFSET) % FSEG_INODE_SIZE));
|
||||
ut_ad(space->purpose == FIL_TYPE_TEMPORARY
|
||||
|| space->purpose == FIL_TYPE_TABLESPACE);
|
||||
seg_id = mach_read_from_8(seg_inode + FSEG_ID);
|
||||
|
||||
ut_ad(seg_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue