Daniel Nichter
d8bb594059
Clean up Pingback.pm, make it encode the client response correctly, and abstract and rewrite the tests.
2012-08-09 12:47:30 -06:00
Brian Fraser
357fff7153
VersionCheck: Update to newest spec and add get_bin_version()
2012-08-09 15:33:42 -03:00
Brian Fraser
5281e109e9
Updated Pingback.pm
2012-08-09 12:15:55 -03:00
Brian Fraser
437503d94b
Merged VersionCheck
2012-08-09 11:31:55 -03:00
Brian Fraser
475af27724
Merged HTTP::Micro
2012-08-09 11:31:23 -03:00
Daniel Nichter
a1633092d7
Fix test to handled borked Perl 5.8 version.
2012-08-08 15:30:24 -06:00
Daniel Nichter
ff7aebaa0e
Coerce PERL_VERSION with %vd to fix 5.8.
2012-08-08 15:23:52 -06:00
Daniel Nichter
c755700068
Don't check sandbox if it's not up.
2012-08-08 14:12:24 -06:00
Brian Fraser fraserb@gmail.com
028fa7a047
Added HTTP::Micro.
...
This is an extremely stripped down HTTP::Tiny, i.e. not comformant
with HTTP/1.1. Basically only GET and POST should work, and
only for explicit content-lengths; chunking is not implemented.
2012-08-08 16:45:28 -03:00
Daniel Nichter
b4dce00639
Stringify Perl vars so $PERL_VERSION isn't an object. Diag the versions so I can see the real results.
2012-08-08 12:57:47 -06:00
Daniel Nichter
5b5c75ba3b
Test get_os().
2012-08-08 12:53:14 -06:00
Daniel Nichter
07237162f7
First VersionCheck.pm prototype.
2012-08-08 11:36:49 -06:00
Brian Fraser fraserb@gmail.com
58647e8b42
Add lib/Pingback.pm and tests
2012-08-07 18:08:51 -03:00
Brian Fraser fraserb@gmail.com
d77a3a19f6
Fix for 1028710: floor() fails on floor(log(1000)/log(10))
2012-08-06 11:37:51 -03:00
Daniel Nichter
3822bb7977
Hack a fix for MasterSlave in tests that use it.
2012-08-02 15:34:39 -06:00
Brian Fraser
ab8d26df4b
Merged fix-883098-extra-processlist-fields
2012-08-02 15:12:59 -03:00
Daniel Nichter
c80123f485
Merge fix-953141-recursion-method-array
2012-08-02 12:01:34 -06:00
Daniel Nichter
e6d31a666a
Rewrite how MasterSlave handles --recursion-methods.
2012-08-02 10:57:36 -06:00
Brian Fraser
e29aa514e3
t/lib/MasterSlave.t: A call to ->recurse_to_slaves() still used a string instead of an arrayref
2012-08-02 12:38:09 -03:00
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
94a5d85212
Fix for 1016131: ptc should skip tables when all its columns are excluded
2012-08-02 11:29:57 -03:00
Brian Fraser fraserb@gmail.com
654ebacf1c
Fix for 883098: Extra processlist fields causing errors
2012-08-01 18:43:03 -03:00
Brian Fraser fraserb@gmail.com
a25b9eab40
MasterSlave: Rework how the recursion methods are checked & resolved
...
In part by removing the OptionParser usage out from get_slaves
and recurse_to_slaves and making them expect arrayrefs, thus
forcing our callers to deal with that, and in part by
splitting out the method-checking to MasterSlave::check_recursion_method
and the resolving (originally in find_slave_hosts) into
_resolve_recursion_methods.
2012-08-01 17:39:12 -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
Brian Fraser fraserb@gmail.com
66d6ed75c0
Merged fix-844880-variableadvisor-bin_log-checks
2012-08-01 14:47:50 -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
c769f4df11
Update ComopareResults.t with new $can_load_data.
2012-07-31 16:34:38 -06: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
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
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
2f0812fb33
Merged ubuntu-12-64-issues
2012-07-30 11:30:05 -03:00
Brian Fraser
ac015477af
Bug 1022622: pt-config-diff is case-sensitive
2012-07-27 20:12:45 -03: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
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
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
68b8eddc5a
t/lib/bash/collect.sh: Wait for the df file before starting
2012-07-23 02:43:15 -03:00
Brian Fraser
02c6421a25
Cxn.pm: Set NAME_lc by default
2012-07-22 23:37:39 -03: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
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
785de0cf57
Merge pt-kill-log-dsn.
2012-07-19 11:20:29 -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
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
Daniel Nichter
e797e463c1
Use hostN intead of full hostname in Compare* summaries.
2012-07-17 16:47:33 -06:00