Comment 2 for bug 1074179

I can only partially reproduce this.

If I run
$ pt-table-checksum master --replicate=pt.table_checksum --empty-replicate-table --quiet

and then

$ pt-table-checksum master --replicate=pt.table_checksum --empty-replicate-table '--ignore-tables-regex=bad_table' --replicate-check-only

I see the bug described; --replicate-check-only isn't using any of the filters, so the attached branch fixes that. However, the original bug had a --ignore-tables-regex=bad_table in the first invocation as well, but that works just fine here. John, could you post the steps to reproduce this, and if possible, the output of running the tool with PTDEBUG?