Commit Graph

732 Commits

Author SHA1 Message Date
Daniel Nichter
57722889cb Add slow057.txt which has many distinct Time values. 2013-01-19 11:15:25 -07:00
Daniel Nichter
47f09d427a Merge simplify-pqd r542. 2013-01-18 18:29:38 -07:00
Daniel Nichter
06ce6e012e Fix --resume. 2013-01-18 17:44:07 -07:00
Daniel Nichter
fcb5a0c0f8 Merge lp:~percona-toolkit-dev/percona-toolkit/simplify-pqd r541. 2013-01-18 16:21:10 -07:00
Brian Fraser fraserb@gmail.com
5e5763f82a Partially Moified QueryReportFormatter, split event_report and query_report into two different subs; one that gets the values to print, and one that formats things 2013-01-14 12:52:23 -03:00
Brian Fraser fraserb@gmail.com
e5d17af0fe Mo'ified and minimally simplified ReportFormatter 2013-01-14 12:49:55 -03:00
Brian Fraser
4fc66a08d3 pqd: Remove sparklines 2013-01-11 13:45:20 -03:00
Brian Fraser
5495945c7e EventAggregator: Remove apdex code 2013-01-11 13:24:02 -03:00
Brian Fraser
944b2039d3 pqd: Stop reporting apdex scores 2013-01-11 13:20:39 -03:00
Daniel Nichter
d4d081d1e6 Merge 2.1 r518. 2013-01-03 08:15:12 -07:00
Daniel Nichter
0495f9aa8a Test and implement more run_agent(). Fix as_json() for lists of resources. Add alias attrib to Service for its friendly name; make name its code-friendly name. Fix ts in log messages. 2012-12-26 17:44:19 -07:00
Daniel Nichter
9241c27b7c Almost working pt-agent main process. Clean up HTTP::Micro. Add Percona/WebAPI/Util, and some basic Percona/WebAPI/Representation tests. 2012-12-25 16:51:18 -07:00
Daniel Nichter
861cc8fd96 Merge mo-cleanup -r520..524. 2012-12-24 14:41:20 -07:00
Daniel Nichter
593e64e6ec Begin to fill in pt-agent. Use new, experimental Percona::Toolkit. Remove Versions resource; add as optional attrib to Agent resource. 2012-12-24 13:17:48 -07:00
Brian Fraser
472d850be2 t/lib/VersionCheck.t: Add ourselves first to the PATH, not last, to avoid conflicts with installed versions of the toolkit 2012-12-21 12:30:54 -03:00
Brian Fraser
4f010f52dc t/lib/Percona/Toolkit.t: Test Percona::Toolkit::VERSION differently to avoid a bug in Centos 5.6 2012-12-21 09:07:21 -03:00
Daniel Nichter
e13b480116 Merge remove-3-tools 2012-12-20 17:27:38 -07:00
Daniel Nichter
2f413383ef Update SchemaIterator.t sample files. 2012-12-20 23:08:55 +00:00
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
Daniel Nichter
d25a778b9f Fix two possible sources of test errors. 2012-12-14 12:14:12 -07:00
Brian Fraser
dcc66e8a32 Fix for 1087319: Quoter::serialize_list() doesn't handle multiple NULL values 2012-12-12 16:16:14 -03:00
Daniel Nichter
f84ed48707 Remove pt-log-player, pt-tcp-model, and pt-trend. 2012-12-11 18:30:30 -07:00
Brian Fraser
2d78170c7a Merged fix-1078887-DSNParser-set-vars-sql_mode-clobber 2012-12-11 11:48:44 -03:00
Brian Fraser
0681986dee Merged fix-1022622-ptcd-case-sensitivity 2012-12-11 11:45:29 -03:00
Daniel Nichter
ec4be9a883 Add and fix test case for special 'no query' events. 2012-12-10 18:07:36 -07:00
Daniel Nichter
fd6eef65c8 Merge fix-genlog-db-bug 2012-12-10 16:41:11 -07:00
Daniel Nichter
ea526799d3 Merge trunk r487. 2012-12-07 11:52:33 -07:00
Brian Fraser fraserb@gmail.com
4eaf6e51f8 Merged experimental-fix-986847-pt-stalk-set-command 2012-12-05 21:15:20 -03:00
Brian Fraser fraserb@gmail.com
f8c7c7f2d4 Merged fix-1015590-pt-mysql-summary-percona-server-5.5 2012-12-05 21:10:22 -03:00
Brian Fraser fraserb@gmail.com
f2fdc7dd13 Merged fix-1007938-mysqlconfig-eol-comments 2012-12-05 20:43:40 -03:00
Brian Fraser fraserb@gmail.com
d24f054649 Merged fix-937234-pqa-wrong-res.001 2012-12-05 20:35:14 -03:00
Brian Fraser fraserb@gmail.com
d5d90dad00 Merged fix-911385-schemaiterator-resume-plus-ignore-db 2012-12-05 20:30:29 -03:00
Brian Fraser fraserb@gmail.com
fa27779126 Merged fix-823431-pqa-hangs-large-query 2012-12-05 20:27:30 -03:00
Daniel Nichter
2687857550 Fix pt-find.t by using new stored code that was removed from the new sakila.sql. 2012-12-05 14:45:56 -07:00
Daniel Nichter
dd333380f2 Ignore the new 5.6 mysql stats tables in SchemaIterator and update that module in all tools and updated affected samples. 2012-12-05 18:27:12 +00:00
Brian Fraser fraserb@gmail.com
3d263dd6ed Merged fix-1007938-mysqlconfig-eol-comments, resolved conflicts 2012-12-05 14:46:32 -03:00
Brian Fraser fraserb@gmail.com
b6c9748656 Merged pxc-pt-mysql-summary 2012-12-05 13:57:13 -03:00
Daniel Nichter
0b25accdf6 Merge trunk r478. 2012-12-04 16:54:50 -07:00
Daniel Nichter
510efda1b3 Update ExplainAnalyzer.t, QueryReportFormatter.t, and SchemaIterator.t for MySQL 5.6. 2012-12-04 23:47:20 +00:00
Brian Fraser
d2f1742606 Merged fix-917770-pt-config-diff-uninit-value-crash 2012-12-04 13:43:40 -03:00
Daniel Nichter
9bd431e8b7 Use mysql.columns_priv instead of mysql.host as the empty table because mysql.host doesn't exist in 5.6. 2012-12-04 01:50:32 +00:00
Brian Fraser
d98f8e04c9 Fix for 1078887: Don't clobber the sql_mode set by the script with set-vars 2012-12-03 00:43:10 -03:00
Brian Fraser
9522fae2f9 Added an extra test for section_percona_server_features on 5.1 2012-11-30 18:23:59 -03:00
Brian Fraser
a3527f748c Fixed the Smooth Flushing report on 5.1, which was broken by the previous commit, and made it work on 5.5 2012-11-30 18:17:30 -03:00
Brian Fraser
76a010abee Fix for 917770: Use of uninitialized value in substitution (s///) at pt-config-diff line 1996
This turned out to be two bugs mangled into one.

First, _parse_varvals can deal with (var, undef), but not with (undef).
This is a problem because two of the trhee spots that call
_parse_varvals can return undef because of this:

      map  { $_ =~ m/^([^=]+)(?:=(.*))?$/ }
      grep { $_ !~ m/^\s*#/ }  # no # comment lines
      split("\n", $mysqld_section)

The problem is twofold. First, we are not skipping empty or
whitespace-only lines. That means that the map will fail,
and pass an undef to _parse_varvals. So this ended up in
a triple fix: Make _parse_varvals deal with a sole undef,
skip empty/whitespace lines, and change that map to

	map  { $_ =~ m/^([^=]+)(?:=(.*))?$/ ? ($1, $2) : () }

so even if the regex fails in the future, no sole undef
will be passed down the chain.
2012-11-30 16:17:45 -03:00
Daniel Nichter
90a91cd384 Merge pt-osc-pxc-tests. 2012-11-29 17:10:51 -07:00
Brian Fraser
98707e937c pt-mysql-summary: Feedback from Fred & Jay; Display wsrep_slave_threads, and also parse & display pc.ignore_sb, pc.ignore_quorum, gcache.size, gcache.dir, gcache.name, all from wsrep_provider_options 2012-11-29 19:38:50 -03:00
Brian Fraser
713457226a Merged fix-887638-ptqa-negative-at-byte 2012-11-29 17:09:33 -03:00
Daniel Nichter
432b9e42b3 Remove time zone stuff from sakila.sql and update NibbleIterator.t tests. 2012-11-28 15:00:30 -07:00
Brian Fraser fraserb@gmail.com
d47b9f1f95 pt-mysql-summary: Start reporting some PXC info 2012-11-27 19:05:45 -03:00