Commit Graph

1322 Commits

Author SHA1 Message Date
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
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
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
Daniel Nichter
54733dad5f Test user privs for bug 916168. 2012-07-20 17:58:44 -06:00
Daniel Nichter
7d9d4037ac Merge fix-pt-heartbeat-dupe-key-bug-1004567. 2012-07-20 16:13:33 -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
Brian Fraser
adc02c767c Mo tests: Give everything a unique name 2012-07-19 18:38:35 -03:00
Daniel Nichter
15bf1e78f6 Merge fix-dupe-key-checker-bug-969669 2012-07-19 15:38:25 -06:00
Daniel Nichter
c71f3b15e1 Check that vars are defined before using them as hashrefs. 2012-07-19 15:33:27 -06:00
Daniel Nichter
d8cef2e902 Merge 2.1 r316 and r317. 2012-07-19 12:54:32 -06:00
Daniel Nichter
97a8ba9518 Report when a /tmp/port is missing files. 2012-07-19 12:51:23 -06:00
Daniel Nichter
efb6a0f6ce Don't fail if /tmp/port/stop doesn't exist when stopping test env. 2012-07-19 12:40:51 -06:00