mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +08:00
Update TableChunker in pt-table-checksum. Include COUNT in test samples.
This commit is contained in:
@@ -132,7 +132,7 @@ ok(
|
||||
qw(--no-zero-chunk --chunk-size 5), '--where', "date = '2011-03-03'");
|
||||
},
|
||||
"t/pt-table-checksum/samples/where01.out",
|
||||
trf => "awk '{print \$1 \" \" \$2 \" \" \$3}'",
|
||||
trf => "awk '{print \$1 \" \" \$2 \" \" \$3 \" \" \$6}'",
|
||||
),
|
||||
"--where affects int range stats (bug 821673)"
|
||||
);
|
||||
@@ -150,7 +150,7 @@ ok(
|
||||
qw(--no-zero-chunk --chunk-size 5), '--where', "date = '2011-03-03'");
|
||||
},
|
||||
"t/pt-table-checksum/samples/where02.out",
|
||||
trf => "awk '{print \$1 \" \" \$2 \" \" \$3}'",
|
||||
trf => "awk '{print \$1 \" \" \$2 \" \" \$3 \" \" \$6}'",
|
||||
),
|
||||
"--where affects char range stats (bug 821673)"
|
||||
);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
DATABASE TABLE CHUNK
|
||||
test checksum_test 0
|
||||
test checksum_test 1
|
||||
DATABASE TABLE CHUNK COUNT
|
||||
test checksum_test 0 2
|
||||
test checksum_test 1 3
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
DATABASE TABLE CHUNK COUNT
|
||||
test checksum_test 0 1
|
||||
test checksum_test 1 4
|
||||
test checksum_test 2 0
|
||||
|
||||
Reference in New Issue
Block a user