Commit Graph

20 Commits

Author SHA1 Message Date
Sveta Smirnova
798eaaa208 PT-2123 wide character in print for pt archiver (#583)
* PT-2123 pt-archiver gives error "Wide character in print at /usr/bin/pt-archiver line 6815" when using --bulk-insert while using character set alias

Added check if source DSN has character set UTF specified while option --charset is not provided
In this case it is safe to open bulk insert data file in utf8 mode.

* PT-2123 pt-archiver gives error "Wide character in print at /usr/bin/pt-archiver line 6815" when using --bulk-insert while using character set alias

Removed unrelated row in t/pt-archiver/samples/pt-2123.sql

* PT-2123 pt-archiver gives error "Wide character in print at /usr/bin/pt-archiver line 6815" when using --bulk-insert while using character set alias

util/update-modules for pt-archiver
2023-02-07 18:00:32 +03:00
Roma Novikov
4c28e71092 Merge pull request #376 from percona/PT-157
PT-157 Specifying the index to use for pt-archiver ignores --primary-key-only
2019-01-03 11:50:15 +02:00
Carlos Salguero
152712f799 PT-1667 Added replication channels support to pt-archiver 2018-12-05 14:15:51 -03:00
Carlos Salguero
4230f411e4 PT-157 Specifying the index to use for pt-archiver ignores --primary-key-only 2018-11-27 12:25:47 -03:00
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