Comment 2 for bug 1526105

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote : Re: pt-online-schema-change does not check maximum name length when creating tables

Confirmed exactly as described:

...
Altering `test`.`t1`...
Creating new table...
Created new table test._t1_new OK.
Altering new table...
Altered `test`.`_t1_new` OK.
2015-12-15T10:20:03 Creating triggers...
2015-12-15T10:20:03 Created triggers OK.
2015-12-15T10:20:03 Copying approximately 1 rows...
2015-12-15T10:20:03 Copied rows OK.
2015-12-15T10:20:03 Analyzing new table...
2015-12-15T10:20:03 Swapping tables...
2015-12-15T10:20:03 Dropping triggers...
2015-12-15T10:20:03 Dropped triggers OK.
Not dropping the new table `test`.`_t1_new` because --swap-tables failed. To drop the new table, execute:
DROP TABLE IF EXISTS `test`.`_t1_new`;
`test`.`t1` was not altered.