hugowan / maatkit

Automatically exported from code.google.com/p/maatkit
0 stars 0 forks source link

mk-table-checksum doesn't honor --checksum in --schema mode #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Try mk-table-checksum --schema --checksum localhost

it ought to output things that look like

3646644932        localhost.sakila.film_category.0
3517545183        localhost.sakila.film_text.0
3471334076        localhost.sakila.inventory.0

instead, it outputs the full verbose format.

Original issue reported on code.google.com by baron.schwartz on 18 Oct 2008 at 8:49

GoogleCodeExporter commented 9 years ago
Doing...

Original comment by dan...@percona.com on 25 Oct 2008 at 5:35

GoogleCodeExporter commented 9 years ago
done: r2450.

The real issue was that --checksum was not allowed w/ --schema. Therefore, 
giving
--schema disabled --checksum and so the full output was printed. Solution: made 
test
case, which did fail, then added --checksum to list of allowed ops in the 
--schema
POD entry which automagically permitted --checksum, re-ran test which now 
passes.

While I'm at it I'll go over and do issue 104 now...

Original comment by dan...@percona.com on 25 Oct 2008 at 5:50