Commit Graph

1361 Commits

Author SHA1 Message Date
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
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
Daniel Nichter
785de0cf57 Merge pt-kill-log-dsn. 2012-07-19 11:20:29 -06:00
Brian Fraser
f2016ded20 Really make a test 5.0 compatible 2012-07-19 13:40:54 -03:00
Brian Fraser
81d541ec05 Update modules & cut the VP and Mo dependency from several tools 2012-07-19 13:22:45 -03:00
Brian Fraser
dfc271929c Style consistency: Use numeric operators (<, ==, etc) for version checks 2012-07-19 13:20: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
64c14e18f4 Remove MySQL 4.0 checks from several libraries, losing the VP dependency 2012-07-19 13:19:26 -03:00
Brian Fraser
a964076cc2 t/pt-kill/kill.t: Make a test 5.0 compatible 2012-07-19 13:10:12 -03:00
Brian Fraser
de625a873c VersionParser.pm: Code comments 2012-07-19 12:12:28 -03:00
Brian Fraser
02665e802e VersionParser.pm: Quote SQL with q// 2012-07-19 12:08:28 -03:00
Brian Fraser
cbded60b8c VersionParser.t: Add descriptions to three tests 2012-07-19 12:07:16 -03:00
Brian Fraser
ade6357157 Make all t/lib/Mo.pm tests use done_testing 2012-07-19 11:45:43 -03: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