Merge lp:~percona-toolkit-dev/percona-toolkit/fix-pt-upgrade-docs-bug-953461 into lp:percona-toolkit/2.0

Proposed by Daniel Nichter
Status: Merged
Merged at revision: 222
Proposed branch: lp:~percona-toolkit-dev/percona-toolkit/fix-pt-upgrade-docs-bug-953461
Merge into: lp:percona-toolkit/2.0
Diff against target: 58 lines (+48/-1)
1 file modified
bin/pt-upgrade (+48/-1)
To merge this branch: bzr merge lp:~percona-toolkit-dev/percona-toolkit/fix-pt-upgrade-docs-bug-953461
Reviewer Review Type Date Requested Status
Daniel Nichter Approve
Review via email: mp+100243@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Daniel Nichter (daniel-nichter) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/pt-upgrade'
2--- bin/pt-upgrade 2012-03-30 16:53:51 +0000
3+++ bin/pt-upgrade 2012-03-30 21:23:25 +0000
4@@ -11354,7 +11354,54 @@
5
6 =head1 OUTPUT
7
8-TODO
9+Queries are group by fingerprints and any with differences are printed.
10+The first part of a query report is a summary of differences. In the example
11+below, the query returns a different number of rows (C<row counts>) on
12+each server. The second part is the side-by-side comparison of values
13+obtained from the query on each server. Then a sample of the query is
14+printed, preceded by its ID which can be used to locate more information
15+in the sub-report at the end. There are sub-reports for various types of
16+differences.
17+
18+ # Query 1: ID 0x3C830E3839B916D7 at byte 0 _______________________________
19+ # Found 1 differences in 1 samples:
20+ # column counts 0
21+ # column types 0
22+ # column values 0
23+ # row counts 1
24+ # warning counts 0
25+ # warning levels 0
26+ # warnings 0
27+ # 127.1:12345 127.1:12348
28+ # Errors 0 0
29+ # Warnings 0 0
30+ # Query_time
31+ # sum 0 0
32+ # min 0 0
33+ # max 0 0
34+ # avg 0 0
35+ # pct_95 0 0
36+ # stddev 0 0
37+ # median 0 0
38+ # row_count
39+ # sum 4 3
40+ # min 4 3
41+ # max 4 3
42+ # avg 4 3
43+ # pct_95 4 3
44+ # stddev 0 0
45+ # median 4 3
46+ use `test`;
47+ select i from t where i is not null
48+
49+ /* 3C830E3839B916D7-1 */ select i from t where i is not null
50+
51+ # Row count differences
52+ # Query ID 127.1:12345 127.1:12348
53+ # ================== =========== ===========
54+ # 3C830E3839B916D7-1 4 3
55+
56+The output will vary slightly depending on which options are specified.
57
58 =head1 OPTIONS
59

Subscribers

People subscribed via source and target branches