Commit Graph

598 Commits

Author SHA1 Message Date
Daniel Nichter
6c83106ce8 Use CleanupTask to ensure tool always, automatically cleans up. Move create triggers step before copy rows, to keep related code together. 2012-03-28 18:40:23 -06:00
Brian Fraser fraserb@gmail.com
9fbb796022 More tests for get_var 2012-03-28 15:59:16 -03:00
Brian Fraser fraserb@gmail.com
3ee8f9ba71 Fixed the Table Cache bugs.
Also makes t/lib/bash/collect_system_info.sh actually call setup_commands.
2012-03-28 15:29:57 -03:00
Brian Fraser fraserb@gmail.com
4bb5968c23 More fixes as per the reviews.
- Took out ${prefix}-
- get_var sanity
- pt-mysql-summary now follows pt-summary's suit and doesn't take
  in files to write to
- pt-summary defers setting the CMD_FOO vars to a function, as
  otherwise it would skip our PATH mungling.
2012-03-28 13:04:14 -03:00
Daniel Nichter
02b3574582 Add critical load to MySQLStatusWaiter.pm and pt-osc. Clean up the tool's docu. 2012-03-27 19:17:17 -06:00
Brian Fraser fraserb@gmail.com
ae6c1e3789 More fixes:
- pt-mysql-summary's --read-samples shouldn't need an active connection
- Bunch of pt-summary bugs, particularly several relating to disks.
2012-03-27 12:53:31 -03:00
Brian Fraser fraserb@gmail.com
0e4fa22d18 *-summary tools: Changes from the reviews. Tests for pt-mysql-summary not finished yet 2012-03-27 06:19:37 -03:00
Daniel Nichter
beaa9240e7 Rename preserve_embedded_numbers to match_embedded_numbers, and fingerprint_md5 to match_md5_checksums. Add corresponding options to pt-fingerprint. 2012-03-26 16:40:46 -06:00
Daniel Nichter
a81d25c489 Add fingerprint_md5 and preserve_embedded_numbers flags to QueryRewriter, used in fingerprint() to handle customer's requirements. 2012-03-26 10:45:46 -06:00
Daniel Nichter
45c1f3bfb6 Make NibbleIter query comments customizable. Update the module in pt-table-checksum and pt-osc. 2012-03-25 10:37:19 -06:00
Brian Fraser fraserb@gmail.com
63064173a9 Correct test plans & add missing files 2012-03-24 16:27:47 -03:00
Brian Fraser fraserb@gmail.com
3ffda5677b pt-summary for 2.1, also changes to pt-mysql-summary from Daniel's review 2012-03-24 14:20:09 -03:00
Brian Fraser fraserb@gmail.com
88a9a66946 pt-mysql-summary for 2.1 2012-03-20 18:29:35 -03:00
Brian Fraser fraserb@gmail.com
55c7248c54 (more syncing) 2012-03-20 17:16:06 -03:00
Daniel Nichter
a17bdd65d3 Rewriting pt-online-schema-change 2.1.1. Work in progress (this code doesn't work yet). 2012-03-20 13:34:16 -06:00
Brian Fraser fraserb@gmail.com
31afeb73b5 (temp commit, syncing up) 2012-03-20 11:21:16 -03:00
Daniel Nichter
14760f22d3 Fix trailing blank lines in samples. 2012-03-07 09:38:10 -07:00
Daniel Nichter
991d6c606b Fix samples for MySQL 5.0. 2012-03-07 09:35:50 -07:00
Daniel Nichter
e122b884e2 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-928226. 2012-03-06 14:18:51 -07:00
Brian Fraser fraserb@gmail.com
06f1b7319e Fix for 928226: https://bugs.launchpad.net/percona-toolkit/+bug/928226 2012-03-02 11:05:33 -08:00
Daniel Nichter
36c666ca11 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-md-bug-926598. 2012-03-02 10:19:57 -08:00
Daniel Nichter
6f8cdee753 Fix sample outputs for MySQL 5.0. 2012-02-27 17:57:56 -07:00
Daniel Nichter
e7eb1cc6a2 Fix SchemaIterator.t output files. 2012-02-27 17:30:43 -07:00
Daniel Nichter
3ff75bbec6 Merge lp:~percona-toolkit-dev/percona-toolkit/stabilize-test-suite r130. 2012-02-27 17:08:15 -07:00
Daniel Nichter
b9f6c14e30 Make collect.t mysqladmin debug test more reliable. 2012-02-24 09:39:49 -07:00
Daniel Nichter
6620595fac Make collect.t mysqladmin debug test reliable. 2012-02-24 09:18:18 -07:00
Daniel Nichter
b99293d1b3 Simplify and individuate Bash tests so prove reports failures where they happen. 2012-02-23 13:58:57 -07:00
Daniel Nichter
a83e97a821 Parse InnoDB_trx_id as a string. 2012-02-23 09:34:17 -07:00
Daniel Nichter
a33031e6e4 Merge 2.0 r187. 2012-02-21 14:26:44 -07:00
Daniel Nichter
65bf629184 Remove test debug hacks. 2012-02-21 14:23:41 -07:00
Daniel Nichter
8e9e8eb7a6 Test and fix space-flattening bug. 2012-02-21 13:22:56 -07:00
Daniel Nichter
17fe96f361 Test and quote all idents, including reserved words and those with spaces, in CopyRowsInsertSelect.pm. 2012-02-20 11:37:34 -07:00
Daniel Nichter
39fe787fdd Test and quote all idents, including reserved words and those with spaces, in OSCCaptureSync.pm. 2012-02-20 11:09:36 -07:00
Daniel Nichter
7016b26f09 More test debug hacks. 2012-02-16 10:52:28 -07:00
Daniel Nichter
a17cbc8bd8 Add --filter to pt-kill and allow arbitrary --group-by. 2012-02-15 11:09:29 -07:00
Daniel Nichter
c800ba8fa1 Add test debug hack back to collect.sh. 2012-02-14 14:50:38 -07:00
Daniel Nichter
ab6bafe3ed Remove debug hack from collect.sh. 2012-02-14 14:22:17 -07:00
Daniel Nichter
2c65aa85ae Add debug hack to collect.sh. 2012-02-14 14:03:15 -07:00
Daniel Nichter
810ce4b02d Fixed CompareResults.t. 2012-02-14 13:37:52 -07:00
Daniel Nichter
d0e3fb38ca More debug hacks. 2012-02-14 13:30:15 -07:00
Daniel Nichter
b6dc9d3832 More debug hacks. 2012-02-14 13:22:11 -07:00
Daniel Nichter
8b81b2398f Debug hack in CompareResults.t. 2012-02-14 12:59:54 -07:00
Daniel Nichter
9cfb71dff4 Make CompareResults.t wait for its tables. 2012-02-14 12:22:44 -07:00
Daniel Nichter
da051b3371 Conditionalize IO::Uncompress::Inflate test. Make test names shorter, uniform. 2012-02-14 11:19:23 -07:00
Daniel Nichter
1c57fe8ee2 Conditionalize lsof test in collect.sh. 2012-02-14 11:02:28 -07:00
Daniel Nichter
0539775d24 Always close STDIN if --daemonize. 2012-02-14 10:54:02 -07:00
Daniel Nichter
c67adc1a8f More Daemon debugging. 2012-02-14 10:20:40 -07:00
Daniel Nichter
e9f6325592 Add hires timestamp to PTDEVDEBUG. Debug daemonize.pl. Make wait_until() defaults shorter. 2012-02-14 09:31:47 -07:00
Daniel Nichter
c943f7a0da Debug Daemon.t failures. 2012-02-14 08:58:10 -07:00
Daniel Nichter
0659100b6b Don't require Digest::Crc32 for testing. 2012-02-07 15:06:06 -07:00