Commit Graph

1384 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 fraserb@gmail.com
62c74e1e76 Previous commit left an unfinished comment 2012-07-30 19:08:37 -03:00
Brian Fraser fraserb@gmail.com
1de45b70be pt-osc: Change --quiet back and remove the quietness checks 2012-07-30 18:35:24 -03:00
Brian Fraser fraserb@gmail.com
ba6253545d Merged fix-821703-processlist-null-state 2012-07-30 16:48:15 -03:00
Brian Fraser fraserb@gmail.com
3b1f3dbbe5 Fix for 977226: pt-summary doesn't detect LSI RAID control. Patch provided by Dave Juntgen (djuntgen) 2012-07-30 12:36:55 -03:00
Brian Fraser fraserb@gmail.com
c7b4a6ef28 Fix for 940733: pt-ioprofile leaves behind temp directory 2012-07-30 11:56:42 -03:00
Brian Fraser fraserb@gmail.com
b93856a37d Fix for 903510: pt-tcp-model throws an error in --type=requests mode on empty file 2012-07-30 11:52:53 -03:00
Brian Fraser fraserb@gmail.com
4c5678876d Fix for bug 889739: pt-config-diff doesn't diff quoted strings properly 2012-07-30 11:50:42 -03:00
Brian Fraser fraserb@gmail.com
2192eb9e4e pt-va: Delimit sentences by . or ? 2012-07-30 11:47:59 -03:00
Brian Fraser fraserb@gmail.com
43708d7b65 VariableAdvisorRules: Check that log_bin is ON instead of doing log_bin ? 1 : 0 2012-07-30 11:44:28 -03:00
Brian Fraser fraserb@gmail.com
05f923545c pt-osc: Make --quiet behave like in the other tools 2012-07-30 11:41:09 -03:00
Brian Fraser fraserb@gmail.com
2f0812fb33 Merged ubuntu-12-64-issues 2012-07-30 11:30:05 -03:00
Daniel Nichter
a7a4ff27aa Merge fix-pt-index-usage-db-bug-1028614 2012-07-28 14:55:35 -06:00
Daniel Nichter
8b079060ed Use si_dbh for SchemaIterator instead of the main dbh. 2012-07-28 14:41:51 -06:00
Daniel Nichter
41c8aa001d Failing test for --database bug 1028614. 2012-07-28 14:17:28 -06:00
Brian Fraser
192f38498c Removed the charset munging and made a note in the pt-archiver docs that the only legal charsets are those known by MySQL 2012-07-27 16:09:32 -03:00
Daniel Nichter
2f3025c05d Finish merging fix-ptc-diffs-bug-1030031 2012-07-27 12:04:46 -06:00
Daniel Nichter
a44b77eb2f Merge part of fix-ptc-diffs-bug-1030031 2012-07-27 12:03:10 -06:00
Daniel Nichter
c94d0ee186 Add code comment to new %diff_chunks code. 2012-07-27 11:54:48 -06:00
Daniel Nichter
0fc84ff7c0 Switch bugs.t to use done_testing. 2012-07-27 11:52:24 -06:00
Daniel Nichter
c25c79e119 Only iterate diffs if there are some. 2012-07-27 11:35:27 -06:00
Daniel Nichter
203b0a9cb6 Report DIFFS as the true number of unique chunks that differ across all slaves. 2012-07-27 11:30:33 -06:00
Daniel Nichter
1875c92674 Partial bug fix: report max diffs, not just last slave's diffs. Still needs fixing to report count of all unique chunk# diffs. 2012-07-27 11:16:41 -06:00
Daniel Nichter
a07dc3c146 Merge fix-pt-osc-empty-table-bug-1020997 2012-07-26 16:49:40 -06:00
Daniel Nichter
2290827eee Stop nibbling if chunking but not first lower boundary because table is empty. Print test debug via diag(). 2012-07-26 16:44:24 -06:00
Daniel Nichter
56f1067908 Merge test-pt-archiver-sql-log-bug-903387. 2012-07-26 14:29:27 -06:00
Daniel Nichter
b59040eb83 Test that pt-archiver DSN b=1 causes SET SQL_LOG_BIN=0. 2012-07-26 14:24:07 -06:00
Daniel Nichter
997574e503 Merge set-pts-tx-mode-bug-869005. 2012-07-25 16:36:32 -06:00
Daniel Nichter
00c0dca859 Fix syntax error. 2012-07-25 15:29:24 -06:00
Daniel Nichter
41f7db8ca7 Merge lp:~hartmut-php/percona-toolkit/bug-869005 2012-07-25 15:22:37 -06:00
Brian Fraser
776798b3b9 Make pt-table-checksum always create the database/table it needs 2012-07-25 17:10:30 -03:00
Daniel Nichter
eedcc82d73 Merge fix-pt-sift-var-bug-1022851. 2012-07-23 16:48:51 -06:00
Daniel Nichter
4f0661c102 Suppress ls output when it fails. Handle missing diskstats and vmstat. Shorten synopsis. 2012-07-23 16:39:49 -06:00
Daniel Nichter
8742381029 Clean up pt-sift: capture signals, verify and simplify arg processing, improve error messages and docs, exit if there are no pt-stalk files. 2012-07-23 16:16:00 -06:00
Daniel Nichter
b90a375cb5 Define PREFIX is arg is a dir. 2012-07-23 14:13:35 -06:00
Brian Fraser
0d26097f31 t/pt-table-sync/wait.t: use wait_until() instead of sleep() 2012-07-23 13:48:05 -03:00
Brian Fraser
a948014991 t/lib/Daemon.t: Tweak the tests to hopefully avoid white smoke 2012-07-23 12:28:55 -03:00
Brian Fraser
a1f1168ab4 t/lib/MasterSlave.t: Check that recurse_to_slaves gets all three slaves, or give a diagnostic 2012-07-23 12:28:25 -03:00
Brian Fraser
b6e4202cfa t/pt-fifo-split/pt-fifo-split.t: Modernize the tests to use wait_for_files and give better diagnostics 2012-07-23 12:26:09 -03:00
Brian Fraser
a195c09bc3 t/pt-ioprofile/pt-ioprofile.t: Mark the --run-time test as TODO to avoid white smoke 2012-07-23 12:17:37 -03:00
Brian Fraser
68b8eddc5a t/lib/bash/collect.sh: Wait for the df file before starting 2012-07-23 02:43:15 -03:00
Brian Fraser
5ac234d1b2 t/pt-archiver/check_slave_lag.t: Mark a timing-related test as TODO to avoid white smoke 2012-07-23 02:06:50 -03:00
Brian Fraser
409f40b240 t/pt-deadlock-logger/standard_options.t: Modernize the tests to stop relying on sleep(), modify an ancient test that was looking for mt-deadlock-logger 2012-07-23 01:52:41 -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
02c6421a25 Cxn.pm: Set NAME_lc by default 2012-07-22 23:37:39 -03:00
Daniel Nichter
8a8c7749f6 Merge sh-no-option-bug-954990. 2012-07-21 12:07:39 -06: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
9723a297f6 Merge ptc-privs-bug-916168. 2012-07-21 10:46:37 -06:00
Daniel Nichter
b41068291e Remove table privs check. 2012-07-21 10:13:58 -06:00