Commit Graph

94 Commits

Author SHA1 Message Date
Daniel Nichter
c99cb3ba58 Add copy_paste attrib to each query's hash in the JSON output with SHOW TABLE STATUS, SHOW CREATE TABLE, and non-SELECT converted to SELECT for EXPLAIN. Fix typo: EA type is 'string' not 'str'. Add host, port, and ip type hints to pqd. 2013-05-20 16:44:44 -07:00
Daniel Nichter
41a4634edb Update JSONReportFormatter: report all str attribs; don't print "# No events processed" since that's not valid JSON; rename output.t to json.t. 2013-05-20 14:47:01 -07:00
Brian Fraser
5cce618f86 Fix for 1176010: pt-query-digest should know how to group quoted and unquoted database names 2013-05-03 10:19:42 -03:00
Brian Fraser
1dcc6904f3 pqd: Restore the --show-all option 2013-04-08 09:53:52 -03:00
Brian Fraser
2034823b95 Fix broken tests 2013-03-06 14:21:29 -03:00
Brian Fraser
91052e7198 Make some internal values show up nicer in --output json 2013-03-05 02:50:13 -03:00
Brian Fraser
1d9b013bab pqd: Removed show-all, shorten, select & print-iterations 2013-02-25 13:10:03 -03:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Daniel Nichter
d9d641dea3 Fix t/pt-query-digest/samples/output_json_tcpdump021.txt. 2013-02-12 09:31:56 -07:00
Brian Fraser
6bf3a35a1a Merged use-lmo.
This commit renames our fork of Mo to Lmo, since the two have diverged
a huge deal. The merged branch streamlined Lmo a great deal as well,
for maintainability.
2013-02-11 21:19:56 -03:00
Daniel Nichter
c9aa9e8cbd Merge 2.1.9 fixes for pt-pmp. 2013-02-05 09:51:24 -07:00
Daniel Nichter
ea4dfa7605 Add Error_msg (but no Error_no) when client closes connection during handshake. 2013-02-01 10:58:27 -07:00
Daniel Nichter
572294540c Make 'Connect abort' errors just 'Connect' so all connect errors are lumped together. 2013-02-01 10:47:38 -07:00
Daniel Nichter
b3e5a1f0dd Fix "Error: none" issue for tcpdump logs. 2013-02-01 10:44:47 -07:00
Brian Fraser
3b6303f421 Updated explain samples for 5.1 2013-01-30 17:21:26 -03:00
Brian Fraser
541db4994e Updated explain samples for 5.0 2013-01-30 17:17:02 -03:00
Daniel Nichter
9e7248861d Catch and report aborted connects. 2013-01-28 14:12:48 -07:00
Daniel Nichter
15b1c43874 Fix and test parser_error_packet() for non-SQL errors. 2013-01-25 11:24:35 -07:00
Brian Fraser fraserb@gmail.com
d1bdd4d80c Make pqd --output json have flags to enable sorted keys and prettyfied JSON 2013-01-24 12:00:48 -03:00
Brian Fraser fraserb@gmail.com
4a06dc2008 Updated samples to get rid of the extra InnoDB: line removed by the refactoring 2013-01-18 10:20:59 -03:00
Brian Fraser fraserb@gmail.com
86f9e302f5 Updated samples for t/pqd/output.t 2013-01-17 19:44:18 -03:00
Brian Fraser fraserb@gmail.com
3c63750c9b Added JSONReportFormatter, a subclass of QueryReportFormatter that does what it says on the tin. WIP as it does not report profile or prepared statement data yet 2013-01-14 13:20:35 -03:00
Brian Fraser
a1f1e4ae28 pqd: Removed --table-access 2013-01-11 14:59:23 -03:00
Brian Fraser
4fc66a08d3 pqd: Remove sparklines 2013-01-11 13:45:20 -03:00
Brian Fraser
944b2039d3 pqd: Stop reporting apdex scores 2013-01-11 13:20:39 -03:00
Brian Fraser
e925a239ff pqd: Removed --execute, --execute-throttle & --mirror 2013-01-11 13:20:19 -03:00
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
Daniel Nichter
2f1bb594f9 Update SlowLogParser in pqd and add test case. 2012-12-10 18:11:59 -07:00
Daniel Nichter
7d896e5c49 Add 5.6 sample for t/pqd/explain.t test. 2012-12-04 00:44:32 +00:00
Brian Fraser
8f3f022ab4 Regression test for 957442. 2012-10-31 06:21:18 -03:00
Brian Fraser fraserb@gmail.com
b71ceeaadb Merged raw-log-parser-percona-22371 2012-10-12 14:19:55 -03:00
Daniel Nichter
d8b0192495 Don't crash if group by attrib is empty string. 2012-07-11 15:46:58 -06:00
Daniel Nichter
938b9720c1 Add RawLogParser.pm and implement --type rawlog in pt-query-digest (Percona 22371). 2012-06-28 15:04:10 -06:00
Baron Schwartz
45a1f20565 fix t/pt-query-digest/explain.t for MySQL 5.5 2012-06-06 12:49:33 -04:00
Brian Fraser fraserb@gmail.com
345a21a82e Replace the last instances of MKDEBUG 2012-06-05 12:28:36 -03:00
Brian Fraser fraserb@gmail.com
53a6230e9c Bug 963225 v2: Updated tests and more samples 2012-03-30 17:21:48 -03:00
baron@percona.com
26944c11cc Update samples and tests for SlowLogWriter.pm and SlowLogParser.pm for bug 963225 2012-03-29 22:16:53 -04:00
Daniel Nichter
3ff75bbec6 Merge lp:~percona-toolkit-dev/percona-toolkit/stabilize-test-suite r130. 2012-02-27 17:08:15 -07:00
Daniel Nichter
a83e97a821 Parse InnoDB_trx_id as a string. 2012-02-23 09:34:17 -07:00
Daniel Nichter
9383572742 Merge trunk r174. 2012-02-07 13:10:11 -07:00
Daniel Nichter
2f9ab4081a Fix prepared report for statements without corresponding prep or exec. 2011-11-08 12:53:50 -07:00
Daniel Nichter
048ad9493c Various test tweaks for stability. 2011-08-25 11:08:57 -06:00
Daniel Nichter
945cfbd153 Fix Bash tests. Add basic pt-align tests. 2011-08-02 15:14:06 -06:00
Daniel Nichter
b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00