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
Brian Fraser
ce0ec9d4bd
Merged fix-doc-bugs-1016127-934310-937225-1016114
2012-08-02 15:10:45 -03:00
Daniel Nichter
c80123f485
Merge fix-953141-recursion-method-array
2012-08-02 12:01:34 -06:00
Daniel Nichter
980b0b4b8d
Pass a placeholder for Quoter since it's not needed.
2012-08-02 11:44:09 -06:00
Daniel Nichter
7aa51a9f3a
Create MasterSlave with required args.
2012-08-02 11:14:47 -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
1c6206bf9d
Fix for 937225: OUTER JOIN advice in JOI.003 is confusing
2012-08-02 10:12:34 -03:00
Brian Fraser
bcf9eefc9f
Fix for 1016114: pt-osc docs don't mention default values
2012-08-02 10:09:24 -03:00
Brian Fraser
6f77f4b49b
Fix for 934310: pt-tcp-model --quantile docs wrong
2012-08-02 09:58:44 -03:00
Brian Fraser
53a7537d11
Updated modules for all tools
2012-08-02 09:54:25 -03:00
Brian Fraser
840ea44e71
Fix for 1016127: DBD::mysql install hint for OpenSolaris
2012-08-02 09:52:42 -03:00
Brian Fraser fraserb@gmail.com
4014b0f220
Updated the modules for all tools that use Processlist
2012-08-01 18:44:20 -03:00
Brian Fraser fraserb@gmail.com
654ebacf1c
Fix for 883098: Extra processlist fields causing errors
2012-08-01 18:43:03 -03:00
Daniel Nichter
cc3826f665
Fix more test output broken by percona_test.load_data. Tweak ptc/t/privs.t so it passes on my box. Fix new start/stop scripts: don't check ibdata1 because SKIP_INNODB may be used. Make PerconaTest::output() cleaner.
2012-08-01 14:58:52 -06:00
Brian Fraser fraserb@gmail.com
d99c7a6041
Update all modules that use --recursion-method, additionally changing it to an array with default processlist,hosts and checking the array for validity
2012-08-01 17:43:09 -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
dd14121c28
Merged fix-903510-pt-tcp-model-empty-requests-file
2012-08-01 14:56:10 -03:00
Brian Fraser fraserb@gmail.com
700e90d2db
Merged fix-821696-pt-va-snippet-delimiters
2012-08-01 14:53:40 -03:00
Brian Fraser fraserb@gmail.com
39ed356b50
Merged fix-977226-pt-summary-lsi-raid
2012-08-01 14:51:10 -03:00
Brian Fraser fraserb@gmail.com
f3e0cb9169
Merged fix-1030975-pt-ts-double-quotes-in-show-vars
2012-08-01 14:50:01 -03:00
Brian Fraser fraserb@gmail.com
66d6ed75c0
Merged fix-844880-variableadvisor-bin_log-checks
2012-08-01 14:47:50 -03:00
Brian Fraser fraserb@gmail.com
9ece80c756
Merged fix-940733-pt-ioprofile-clean-tempdir-on-error and replaced the exits with returns to ensure the cleanup
2012-08-01 14:43:36 -03:00
Brian Fraser fraserb@gmail.com
90c7f6c9b4
Merged fix-1022628-standarize-pt-osc-quiet
2012-08-01 13:49:51 -03:00
Brian Fraser fraserb@gmail.com
9596574e85
Merged fix-950294-ptc-if-not-exists
2012-08-01 13:39:32 -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
3eff897440
Merge more skip-load-data-file changes.
2012-08-01 09:41:36 -06:00
Daniel Nichter
7e464dc3f8
Wait 1 minute to start and stop sandboxes. Report how long start/stop took. Clean up code.
2012-08-01 09:40:05 -06:00
Daniel Nichter
b626531bbf
Merge skip-load-data-file
2012-07-31 17:19:27 -06:00
Daniel Nichter
d19844b94c
Debug when start-sandbox fails.
2012-07-31 17:15:55 -06:00
Daniel Nichter
c769f4df11
Update ComopareResults.t with new $can_load_data.
2012-07-31 16:34:38 -06:00
Daniel Nichter
8b15e2936b
Wait longer for sandboxes to start. Dump their info better if they don't.
2012-07-31 16:30:52 -06:00
Daniel Nichter
5754649a39
Add util/check-load-data
2012-07-31 15:57:50 -06:00
Daniel Nichter
010617ed65
Check LOAD DATA using Perl.
2012-07-31 15:54:44 -06:00
Daniel Nichter
570b26de20
Remove LOAD DATA check from pt-archiver and pt-upgrade. Make test-env check if LOAD DATA works and PerconaTest export . Rewrite how pt-archiver/t/bulk_insert.t conditionalizes on LOAD DATA working.
2012-07-31 15:37:02 -06:00
Daniel Nichter
702d475eda
Set LANG so sort acts as expected and Jenkins is happy.
2012-07-31 10:49:33 -06:00
Brian Fraser fraserb@gmail.com
b5191a310a
Fixes as per Daniel's review; Removed the --quiet usage inpt-osc's nibble_is_safe, as it was ptc cruft
2012-07-31 13:33:30 -03:00
Brian Fraser fraserb@gmail.com
e7d778e4ee
Resolved a pending merge conflict.
...
The fix for https://bugs.launchpad.net/percona-toolkit/+bug/916168
was affecting the same code as this fix.
This commit mimicks that fix, and removes the privs checks.
2012-07-31 12:26:13 -03:00
Brian Fraser fraserb@gmail.com
29b2e5d19b
pt-table-sync: Use single quotes in SHOW VARIABLES LIKE
2012-07-31 06:46:13 -03:00
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