Skip to content

Commit

Permalink
Revert "PS-9222 ALTER TABLE ALGORITHM=INSTANT FIX #1"
Browse files Browse the repository at this point in the history
This reverts commit d537fd3.
  • Loading branch information
VarunNagaraju committed Jul 4, 2024
1 parent da3fb7b commit f1b4ed4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 90 deletions.
38 changes: 0 additions & 38 deletions mysql-test/suite/innodb/r/instant_alter_index_prefix.result

This file was deleted.

50 changes: 0 additions & 50 deletions mysql-test/suite/innodb/t/instant_alter_index_prefix.test

This file was deleted.

4 changes: 2 additions & 2 deletions storage/innobase/mtr/mtr0log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,8 @@ bool mlog_open_and_write_index(mtr_t *mtr, const byte *rec,

if (col->is_instant_added() || col->is_instant_dropped()) {
continue;
} else if (col->get_col_phy_pos() >= phy_pos) {
phy_pos = col->get_col_phy_pos();
} else if (col->get_phy_pos() >= phy_pos) {
phy_pos = col->get_phy_pos();
} else {
fields_with_changed_order[i] = true;
}
Expand Down

0 comments on commit f1b4ed4

Please sign in to comment.