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
=== modified file 'bin/pt-upgrade'
--- bin/pt-upgrade 2012-03-30 16:53:51 +0000
+++ bin/pt-upgrade 2012-03-30 21:23:25 +0000
@@ -11354,7 +11354,54 @@
1135411354
11355=head1 OUTPUT11355=head1 OUTPUT
1135611356
11357TODO11357Queries are group by fingerprints and any with differences are printed.
11358The first part of a query report is a summary of differences. In the example
11359below, the query returns a different number of rows (C<row counts>) on
11360each server. The second part is the side-by-side comparison of values
11361obtained from the query on each server. Then a sample of the query is
11362printed, preceded by its ID which can be used to locate more information
11363in the sub-report at the end. There are sub-reports for various types of
11364differences.
11365
11366 # Query 1: ID 0x3C830E3839B916D7 at byte 0 _______________________________
11367 # Found 1 differences in 1 samples:
11368 # column counts 0
11369 # column types 0
11370 # column values 0
11371 # row counts 1
11372 # warning counts 0
11373 # warning levels 0
11374 # warnings 0
11375 # 127.1:12345 127.1:12348
11376 # Errors 0 0
11377 # Warnings 0 0
11378 # Query_time
11379 # sum 0 0
11380 # min 0 0
11381 # max 0 0
11382 # avg 0 0
11383 # pct_95 0 0
11384 # stddev 0 0
11385 # median 0 0
11386 # row_count
11387 # sum 4 3
11388 # min 4 3
11389 # max 4 3
11390 # avg 4 3
11391 # pct_95 4 3
11392 # stddev 0 0
11393 # median 4 3
11394 use `test`;
11395 select i from t where i is not null
11396
11397 /* 3C830E3839B916D7-1 */ select i from t where i is not null
11398
11399 # Row count differences
11400 # Query ID 127.1:12345 127.1:12348
11401 # ================== =========== ===========
11402 # 3C830E3839B916D7-1 4 3
11403
11404The output will vary slightly depending on which options are specified.
1135811405
11359=head1 OPTIONS11406=head1 OPTIONS
1136011407

Subscribers

People subscribed via source and target branches