PT-1570 pt-archiver fails to detect columns with the word GENERATED as part of the comment

This commit is contained in:
Carlos Salguero
2018-06-14 14:15:20 -03:00
parent accdd7712b
commit 602c1f0ea2
5 changed files with 92 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
CREATE TABLE `t1` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'The unique id of the audit record.',
`source` enum('val1','val2') NOT NULL COMMENT 'Transaction originator',
`tso_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'An internally generated transaction.',
PRIMARY KEY (`id`),
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='some comment here generated'