Commit Graph

820 Commits

Author SHA1 Message Date
Daniel Nichter b90a375cb5 Define PREFIX is arg is a dir. 2012-07-23 14:13:35 -06: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
Daniel Nichter 487d14228b Handle --nofoo like --no-foo in parse_options.sh and update the Bash tools. 2012-07-21 11:57:53 -06:00
Daniel Nichter e1b39b3d5f Use TRUE/FALSE for typeless option values in --help. Update parse_options.sh lib in Bash tools. 2012-07-21 11:40:39 -06:00
Daniel Nichter b41068291e Remove table privs check. 2012-07-21 10:13:58 -06:00
Daniel Nichter c1a286bb41 Respect --replcace when doing INSERT after --create-table. 2012-07-20 16:05:20 -06: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
Brian Fraser 28894c3f1e Processlist.pm: parse_event assumed that STATE couldn't be NULL.
Probably an oversight, since the rest of the library already
dealt with that by treating it as an empty string.
2012-07-19 11:06:17 -03:00
Daniel Nichter 22a4068bea Add --run-time to pt-table-checksum. Remove NAME_lc arg from Cxn and turn it on by default like it used to be and fix pt-kill accordingly. 2012-07-18 10:07:27 -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
Daniel Nichter 938b9720c1 Add RawLogParser.pm and implement --type rawlog in pt-query-digest (Percona 22371). 2012-06-28 15:04:10 -06:00
Daniel Nichter 18e4e1f0e5 Don't check slave lag on cluster nodes. 2012-06-27 15:53:09 -06:00
Daniel Nichter d7099496ca Add Cxn::is_cluster_node(). Add /*!99997*/ to SELECT..INSERT if the master is a cluster ndoe. 2012-06-27 11:57:08 -06: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