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
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
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
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
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
8b079060ed
Use si_dbh for SchemaIterator instead of the main dbh.
2012-07-28 14:41:51 -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
c94d0ee186
Add code comment to new %diff_chunks code.
2012-07-27 11:54:48 -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
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
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
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
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
b41068291e
Remove table privs check.
2012-07-21 10:13:58 -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
Daniel Nichter
c71f3b15e1
Check that vars are defined before using them as hashrefs.
2012-07-19 15:33:27 -06:00
Daniel Nichter
785de0cf57
Merge pt-kill-log-dsn.
2012-07-19 11:20:29 -06:00
Brian Fraser
81d541ec05
Update modules & cut the VP and Mo dependency from several tools
2012-07-19 13:22: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