Commit Graph

611 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com
a94da84b27 Changes from Daniel's review.
Some wording changes, also fatalized two warnings, and some test
changes.
2012-07-30 19:10:45 -03:00
Brian Fraser
776798b3b9 Make pt-table-checksum always create the database/table it needs 2012-07-25 17:10:30 -03:00
Brian Fraser
61a65fcdbd DSNParser.pm: Work around MySQL not resolving encodings sanely.
For some reason, MySQL won't resolve iso-8859-1 or latin-1 as latin1,
and will die if you try to use through in, e.g., SET NAMES.
This commit makes DSNParser resolve those cases on its own
before calling SET NAMES.
2012-07-23 01:11:49 -03:00
Brian Fraser
5d8be022e9 Merge ubuntu-12-64-issues 2012-07-20 17:33:13 -03:00
Brian Fraser
bfa5f488fa Merged new-versionparser 2012-07-20 17:25:10 -03:00
Daniel Nichter
c71f3b15e1 Check that vars are defined before using them as hashrefs. 2012-07-19 15:33:27 -06:00
Daniel Nichter
785de0cf57 Merge pt-kill-log-dsn. 2012-07-19 11:20:29 -06:00
Brian Fraser
81d541ec05 Update modules & cut the VP and Mo dependency from several tools 2012-07-19 13:22:45 -03:00
Daniel Nichter
436eeac077 Move certain vars to outer scope to avoid Perl 5.8 scoping bug. 2012-07-19 10:20:28 -06:00
Daniel Nichter
c78c3bfbab Update Compare* modules in pt-upgrade. 2012-07-17 16:51:39 -06:00
Daniel Nichter
46b0c9ab0c Update output samples with new hostN. 2012-07-17 09:57:08 -06:00
Daniel Nichter
28f50bbac5 Use host instead of Host. 2012-07-17 09:53:07 -06:00
Brian Fraser fraserb@gmail.com
d826c7168b Merged fix-984915-unchecked-do-calls-dsnparser 2012-07-14 23:58:17 -03:00
Brian Fraser fraserb@gmail.com
27db3bc8cf Update the code to work on current trunk.
Changes for 941469 conflicted with this fix, so this had to be updated.
2012-07-14 23:31:05 -03:00
Daniel Nichter
acc74fd716 Merge pt-kill-reconnect-bug-941469. 2012-07-13 10:57:28 -06:00
Brian Fraser
2611797c06 Restore mysteriously changed permissions to the tools 2012-07-13 03:50:41 -03:00
Brian Fraser
0d572c3a02 Some changes that somehow went missing during the merge 2012-07-13 03:30:05 -03:00
Brian Fraser
b696a2e44b bzr update'd the code for assorted VersionParser fixes 2012-07-13 01:55:56 -03:00
Brian Fraser
7f18bae253 Updated modules 2012-07-13 01:54:09 -03:00
Brian Fraser
30cc4892cf bzr update'd the code for assorted VersionParser fixes 2012-07-13 01:39:40 -03:00
Brian Fraser
541d001d2a Updated modules 2012-07-13 01:25:31 -03:00
Brian Fraser
f558b4b9da Fix 984915: DSNParser does not check return value of do() calls 2012-07-12 22:42:54 -03:00
Brian Fraser
1cf7ec210f Merged fix-962330-already-lagged-slave 2012-07-12 22:41:04 -03:00
Daniel Nichter
4430cfabb5 Retry for an hour to get proclist; retry KILL once. 2012-07-12 17:05:25 -06:00
Daniel Nichter
b1c6bba43a Test that pt-kill reconnects using new util/kill-mysql-process. Fix optional DSN by adding magical options rule. 2012-07-12 16:49:15 -06:00
Daniel Nichter
dab2e5c692 Add NAME_lc arg to Cxn to prevent it from being set. Use Cxn in pt-kill to retry lost connections. Add support for pt-kill DSN. 2012-07-12 13:52:52 -06:00
Brian Fraser
4266e92692 Silence tput and stty warnings in ReadKeyMini 2012-07-12 16:25:39 -03:00
Daniel Nichter
d8b0192495 Don't crash if group by attrib is empty string. 2012-07-11 15:46:58 -06:00
Brian Fraser
e0d97bbc98 pt-upgrade: Deal with LOCAL INFILE being disabled 2012-07-11 18:36:43 -03:00
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Brian Fraser
c00598d3fb Two VersionParser oversights in pt-table-sync 2012-07-11 16:46:54 -03:00
Brian Fraser
f9a29fed37 Updated all the tools to use the new VersionParser 2012-07-11 15:12:52 -03:00
Brian Fraser fraserb@gmail.com
4f8b6dca0b Fix for 962330: pt-slave-delay incorrectly computes lag if started when slave is already lagging 2012-06-25 15:48:25 -03:00
Daniel Nichter
50305f5fae Merge lp:~percona-toolkit-dev/percona-toolkit/pt-table-sync-binlog-format-only-if-not-statement 2012-06-12 11:57:58 -04:00
Daniel Nichter
6d71b91bfe Build percona-toolkit-2.1.2 2012-06-12 07:06:39 -07:00
Daniel Nichter
4eb1c689fa Fix bad POD link in pt-table-sync. 2012-06-12 09:55:27 -04:00
Brian Fraser fraserb@gmail.com
846f253661 Update all the modules 2012-06-11 22:08:42 -03:00
Daniel Nichter
18073bd7a2 Remove --[no]zero-bool from pt-query-digest. 2012-06-11 20:43:05 -04:00
Daniel Nichter
768a3d20d0 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-945079-tmpdir-should-use-TEMP 2012-06-11 17:06:03 -04:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Brian Fraser fraserb@gmail.com
9e677a7826 Updated all modules that use tmpdir.sh 2012-06-11 17:10:40 -03:00
Daniel Nichter
ef65945111 Update all modules in all tools. 2012-06-11 15:48:00 -04:00
Daniel Nichter
8932011e7c Merge lp:~percona-toolkit-dev/percona-toolkit/fix-912902 2012-06-11 15:06:46 -04:00
Daniel Nichter
486d5e5131 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-984011-pt-upgrade-docs 2012-06-11 15:03:34 -04:00
Daniel Nichter
4be580433b Merge fix-skipped-chunks-bug-1011738. 2012-06-11 14:52:31 -04:00
Daniel Nichter
69ba6c4efd Reset nibble_time for each chunk. 2012-06-11 14:43:18 -04:00
Brian Fraser fraserb@gmail.com
e246e93bb1 Fix for 984011: pt-upgrade docs show pipes 2012-06-11 14:44:23 -03:00
Daniel Nichter
3f2295ec46 Implement IndexLength in pt-table-checksum and pt-online-schema-change. Tag the IndexLength queries with "key_len" and make n_index_cols optional--get full key_len if not given. 2012-06-11 12:54:26 -04:00
Baron Schwartz
c2165dec01 only change binlog format if it's not already STATEMENT 2012-06-11 12:49:16 -04:00
Brian Fraser fraserb@gmail.com
93cb6f8ebf Bug 912902: basename not guaranteed to work for Shell tools 2012-06-11 12:15:59 -03:00