Brian Fraser fraserb@gmail.com
41f440518f
Fixed the precisions for numbers in the json output
2013-01-17 19:40:58 -03:00
Brian Fraser
1f7e1c12e2
lib/JSONReportFormatter.pm: Change the json output struct to the new spec
2013-01-16 16:46:40 -03:00
Brian Fraser fraserb@gmail.com
e8a8ebbcac
Changed the JSON output
2013-01-16 07:59:19 -03:00
Brian Fraser fraserb@gmail.com
1e8e8a8398
Make Transformers work if called with use
2013-01-16 07:56:04 -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 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 fraserb@gmail.com
cd32c04ed1
Mo: Added an override() export
2013-01-14 12:48:03 -03:00
Brian Fraser
8e36056359
pq: Remove --for-explain, make it always show the extra info
2013-01-11 15:37:55 -03:00
Brian Fraser
d0d8c59042
pqd: Remove --statistics, --pipeline-profile & --fingerprints, make them part of PTDEBUG
2013-01-11 14:52:42 -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
a7ed751315
Merge 2.1 at r519 (release-2.1.8).
2013-01-09 08:44:25 -07:00
Daniel Nichter
8a4c681050
Merge copyright-percona-ireland-ltd.
2013-01-02 17:54:18 -07:00
Daniel Nichter
feab2f0925
s/Percona Inc/Percona Ireland Ltd/g
2013-01-02 17:19:16 -07:00
Brian Fraser
0ff46fd3da
Pushed the lib/Percona/Toolkit.pm version.
2012-12-21 13:11:17 -03:00
Daniel Nichter
e13b480116
Merge remove-3-tools
2012-12-20 17:27:38 -07:00
Daniel Nichter
dad38169bf
Remove ndb_binlog_index from auto-skipped sys tables in SchemaIterator because it wasn't previously skipped in 5.1 and 5.5.
2012-12-20 23:05:06 +00:00
Brian Fraser
bae4ce1ce9
pt-fk-error-logger: Deal with 5.6 InnoDB timestamps
2012-12-20 13:55:12 -03:00
Brian Fraser
42484ecd10
Merged mysql-5.6-test-fixes and resolved conflicts
2012-12-19 13:47:54 -03: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
Brian Fraser
9f4ce57301
Add a missing .* to the backtracking explosion fix for 823431
2012-12-07 19:20:29 -03:00
Daniel Nichter
ea526799d3
Merge trunk r487.
2012-12-07 11:52:33 -07:00
Daniel Nichter
97e0529798
Rewrite t/pt-archiver/standard_options.t to make it reliable.
2012-12-06 10:02:24 -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
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
Brian Fraser
d2f1742606
Merged fix-917770-pt-config-diff-uninit-value-crash
2012-12-04 13:43:40 -03:00
Brian Fraser
a5d1021367
Rename "Cluster" to "Cluster Name" and "Node" to "Node Name"
2012-12-04 13:26:34 -03:00
Brian Fraser
15855fb076
Change feat_on_renamed() per Daniel's feedback
2012-12-04 13:17:58 -03:00
Brian Fraser
a7a0da3bc9
Refactor _parse_varvals.
...
Now it takes two arguments: A regexp and a string to match against.
_parse_varvals itself was split in three: _preprocess_varvals,
_parse_varvals, and _process_val.
This also modifies the three places that call _parse_varvals; For
two, no real changes were needed, but parse_mysqld() required a fix
to deal with the two final lines of mysqld --help --verbose:
To see what values a running MySQL server is using, type
'mysqladmin variables' instead of 'mysqld --verbose --help'.
2012-12-04 05:02:56 -03:00
Brian Fraser
ee607b1f25
Change the ordering in the PXC section
2012-12-04 00:39:34 -03:00
Daniel Nichter
e7c3e908bb
Create percona_test.sentinel in start-sandbox so wait_for_slave() works for other sandboxes. skip_all for skip_innodb.t with 5.6 because of http://bugs.mysql.com/67798 .
2012-12-04 00:14:20 +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
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
72a129bce1
Add is_cluster_mode() to lib/Sandbox.pm.
2012-11-30 18:13:04 +00:00