Commit Graph

173 Commits

Author SHA1 Message Date
Brian Fraser
fdb81f763d Merged fix-1007938-mysqlconfig-eol-comments and fixed it to only take # as a start of comment, and to respect quoted values 2012-08-02 12:21:59 -03:00
Brian Fraser fraserb@gmail.com
ad46ec779e Merged fix-889739-pt-cd-quoted-strings and added the new sample files 2012-08-01 15:02:28 -03:00
Daniel Nichter
69a9562e9e Fix t/lib/samples/SchemaIterator/all-dbs-tbls* that I broke with percona_test.load_data from skip-load-data-file branch. 2012-08-01 10:04:55 -06:00
Daniel Nichter
d8b0192495 Don't crash if group by attrib is empty string. 2012-07-11 15:46:58 -06: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
Brian Fraser fraserb@gmail.com
d387b22c07 Bug 1007938: MySQLConfig doesn't support end-of-line comments
Patch provided by Kaiwang CHEN (~kaiwang-chen) on Launchpad.
2012-06-11 12:33:45 -03:00
Baron Schwartz
f7c97e749e Make TableParser.pm handle ANSI quotes 2012-06-07 00:59:59 -04:00
Daniel Nichter
79c716d358 Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs. 2012-06-07 12:38:45 -04:00
Brian Fraser fraserb@gmail.com
e454e37532 Update the SchemaIterator samples to account for the sentinel table 2012-06-06 21:13:13 -03:00
Daniel Nichter
a178bb32f8 Use md5 "pings" in percona_test.sentinel for sub-second tests that call wipe_clean() twice. Update t/lib/samples/SchemaIterator/all-dbs-tbls-5.0.txt for percona_test.sentinel. Restart slaves in pt-table-checksum/replication_filters.t. Modernize and make pt-table-sync/replicate_do_db.t stable. 2012-06-06 13:31:24 -07:00
Brian Fraser fraserb@gmail.com
c2bb24befc Merged lp:~percona-toolkit-dev/percona-toolkit/replace-MKDEBUG 2012-06-06 14:15:05 -03:00
Brian Fraser fraserb@gmail.com
345a21a82e Replace the last instances of MKDEBUG 2012-06-05 12:28:36 -03:00
Brian Fraser fraserb@gmail.com
c4a8a67204 t/lib/SchemaIterator.t: Update the samples and skip the percona_test db when applicable 2012-06-05 16:01:37 -03:00
Brian Fraser fraserb@gmail.com
b2312e068f SchemaIterator: Use different test files for 5.1 and 5.5 2012-06-04 23:24:50 -03:00
Brian Fraser fraserb@gmail.com
939e9a84b6 t/lib/SchemaIterator.t: Samples for 5.5 and more robust fix for the ordering issue. 2012-06-04 21:48:55 -03:00
Brian Fraser fraserb@gmail.com
1a47970469 Roll back the SchemaIterator samples change.
Turns out that the order isn't exactly deterministic; There's
something weird going on here, so this commit revers the
previous fix.
2012-06-04 18:23:31 -03:00
Baron Schwartz
da86c409da schema for mysql5.5 2012-06-03 20:53:52 -04:00
Baron Schwartz
9569e0d317 Fix schema tests for mySQL 5.5 changes 2012-06-03 17:47:32 -04:00
Brian Fraser fraserb@gmail.com
614befac1d Update the ordering of SchemaIterator's samples. 2012-06-03 16:50:08 -03:00
Daniel Nichter
e969d8d9f7 Implement and test --recursion-method=none in MasterSlave.pm and pt-table-checksum. 2012-05-17 08:11:30 -06:00
Daniel Nichter
e932c89d9e Fix bug that caused not all "right keys" to be compared in certain cases. 2012-05-14 19:05:32 -06:00
Daniel Nichter
10a92ac6da Fix SchemaIterator.t by updating and adding 5.0 samples. 2012-04-03 10:38:53 -07:00
Daniel Nichter
b0b65fd8fd Merge fix-log-parser-writer-bug-963225. 2012-04-03 09:56:11 -06:00
Daniel Nichter
2bae569429 Don't use TABLE STATUS, use CREATE TABLE instead for the table's engine. 2012-03-30 18:46:08 -06:00
baron@percona.com
26944c11cc Update samples and tests for SlowLogWriter.pm and SlowLogParser.pm for bug 963225 2012-03-29 22:16:53 -04: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
3ff75bbec6 Merge lp:~percona-toolkit-dev/percona-toolkit/stabilize-test-suite r130. 2012-02-27 17:08:15 -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
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
a17cbc8bd8 Add --filter to pt-kill and allow arbitrary --group-by. 2012-02-15 11:09:29 -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
c40e5db1bf Fix lib tests for MySQL 5.0. 2012-02-02 10:56:55 -07:00
Daniel Nichter
85fdb732c8 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-2.0 and, previously merged into that, lp:~percona-toolkit-dev/percona-toolkit/use-mktemp-871438. 2012-02-02 09:38:11 -07:00
Daniel Nichter
be8c0e6e18 Fix parsing opts from config file with leading and trailing space. 2012-01-30 11:15:28 -07:00
Daniel Nichter
05ac0be136 Change --disk-byte-limit to --disk-bytes-free and --disk-pct-limit to --disk-pct-free. 2012-01-26 12:45:44 -07:00
Daniel Nichter
81caf6addc Convert size \d+[KMGT] opts in parse_options.sh. 2012-01-26 10:44:55 -07:00
Daniel Nichter
4905e3503c Handle --config FILE[,FILE,...] in parse_options.sh. 2012-01-24 11:18:41 -07:00
Daniel Nichter
0d348ce289 Make parse_options work with everything: cmd line, config files, values with spaces, op val, op=val, etc. 2012-01-23 10:30:42 -07:00
Daniel Nichter
65a3ab5157 Handle values with spaces. Still needs work; one test is failing. 2012-01-21 13:59:02 -07:00
Daniel Nichter
acbc6b4622 Parse config files. Refactor parse_option.sh. Print --help and --version to STDOUT. 2012-01-20 11:34:51 -07:00
Daniel Nichter
51b93a6235 Fix --help description interpolation. 2012-01-19 12:20:33 -07:00
Daniel Nichter
2412e01aa0 Use which to get programs. Don't create file unless the program or file exists. 2012-01-19 10:46:48 -07:00
Daniel Nichter
cfce6e6eb2 More quoting and tweaking re Baron's review. 2012-01-13 10:02:17 -07:00
Daniel Nichter
a9afea4506 Quote vals in Bash libs. Add tests for log_warn_die.sh and alt_cmds.sh. Make --help test path independent. 2012-01-11 11:31:41 -07:00
Daniel Nichter
d1bd7a9f3b Change MKDEBUG to PTDEBUG. Remove 1.0.2 from release notes. 2011-12-30 09:23:41 -07:00
Daniel Nichter
cf10e3e521 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-table-checksum-2.0. 2011-12-29 17:39:26 -07:00