AUTO_INCREMENT columns must be skipped by the --innodb-optimize-keys optimization in mysqldump

Bug #812179 reported by Alexey Kopytov
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Alexey Kopytov
5.1
Fix Released
High
Alexey Kopytov
5.5
Fix Released
High
Alexey Kopytov
Rnt-5.1
Fix Released
High
Alexey Kopytov

Bug Description

Since AUTO_INCREMENT columns must be defined as keys, omitting key specifications and then adding them back in ALTER TABLE doesn't work for them.

mysqldump --innodb-optimize-keys must be fixed to take that into account.

Tags: cr i14678

Related branches

tags: added: cr i14678
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-492

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.