Skip to content

Commit 50ff6ce

Browse files
committed
Merge branch 'mysql-5.7' into mysql-8.0
2 parents 4cc3739 + f505f56 commit 50ff6ce

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

storage/innobase/row/row0import.cc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,12 +1649,6 @@ dberr_t PageConverter::update_records(buf_block_t *block) UNIV_NOTHROW {
16491649
while (!m_rec_iter.end()) {
16501650
rec_t *rec = m_rec_iter.current();
16511651

1652-
/* FIXME: Move out of the loop */
1653-
1654-
if (rec_get_status(rec) == REC_STATUS_NODE_PTR) {
1655-
break;
1656-
}
1657-
16581652
ibool deleted = rec_get_deleted_flag(rec, comp);
16591653

16601654
/* For the clustered index we have to adjust the BLOB
@@ -1746,6 +1740,10 @@ dberr_t PageConverter::update_index_page(buf_block_t *block) UNIV_NOTHROW {
17461740
return (DB_SUCCESS);
17471741
}
17481742

1743+
if (!page_is_leaf(block->frame)) {
1744+
return (DB_SUCCESS);
1745+
}
1746+
17491747
return (update_records(block));
17501748
}
17511749

0 commit comments

Comments
 (0)