mirror of https://github.com/MariaDB/server
Browse Source
After MDEV-12353, the consistency check that I originally added for commitpull/1517/head1b9fe0bbac
(InnoDB Plugin for MySQL 5.1) started randomly failing. It turns out that the IMPORT TABLESPACE code was always incorrect: it did not update the (redundantly stored) tablespace ID in index tree root pages. It only does that for page headers and BLOB pointers. PageConverter::update_index_page(): Update the tablespace ID in the BTR_SEG_TOP and BTR_SEG_LEAF of index root pages. This is a backport of commitb8b3edff13
.
2 changed files with 38 additions and 4 deletions
Loading…
Reference in new issue