Commit Graph

16 Commits

Author SHA1 Message Date
Carlos Salguero 1d1c13fbcb WIP 2018-01-16 11:11:16 -03:00
Carlos Salguero 163a7b095f Merge branch '3.0' into PT-143 2017-05-23 16:59:30 -03:00
Carlos Salguero a4ecd9678f PT-143 Fixed key handling
When tehre is a table having a key like:
PRIMARY KEY (`id`,`start`,`end`,`user_id`(13),`interval`),
DBI driver is taking (13) as part of the field name.
Fixed the way pt-archiver composes the key using DBI cols field
instead of the colnames field since the cols field has the correct
field names for the key.
2017-05-18 12:03:02 -03:00
Carlos Salguero e305c40f52 PT-141 added --output-format to pt-archiver 2017-05-15 13:51:58 -03:00
Carlos Salguero 01daf0030e bug-1593265 Fixed pt-archiver deletes wrong rows
In the case we are trying to migrate a table with no PK nor an unique
key, pt-archiver was failing to select the correct rows for deletion.
This fix implemented here is to add ALL columns in the WHERE clause of
the DELETE command. This way, we are deleting only the exact same row we
just migrated but using columns instead of an index.
2016-06-22 13:17:57 -03:00
frank-cizmich 6433c99713 various 5.7 test and tool compatibility fixes 2015-12-24 09:49:17 -03:00
Frank Cizmich 5051753c6f removed trailing space in code and tests 2014-11-05 18:30:58 -02:00
Frank Cizmich c99f271649 fixed pt-archiver row skipping on partitioned tables - 1376561 2014-10-10 19:20:39 -02:00
Brian Fraser 4abf15e963 Fix for 1127450: pt-archiver wide character 2013-04-02 06:59:58 -03:00
Daniel Nichter e69533e492 Test with MyISAM tables. Add PXC section to pt-archiver docs. 2012-11-30 19:25:35 +00:00
Daniel Nichter 2da682dff3 Fix pt-archiver tests to work with PXC in cluster mode. dest.t is still a work in progress. 2012-11-30 18:16:11 +00:00
Brian Fraser 514feb296c t/pt-archiver/issue_1229.t: Stop checking hardcoded indexes 2012-11-21 13:23:26 -03:00
Brian Fraser fraserb@gmail.com 345a21a82e Replace the last instances of MKDEBUG 2012-06-05 12:28:36 -03:00
Baron Schwartz 8916958897 Change storage engine to myisam so MySQL 5.5 will work 2012-06-04 00:28:21 -04:00
Baron Schwartz bac93e1201 Remove 'type=innodb' syntax (illegal in MySQL 5.5) 2012-06-03 16:25:28 -04:00
Daniel Nichter b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00