MockSyncStream simulates a TableSyncStream module. It’s used by mk-upgrade to quickly compare result sets for any differences. If any are found, mk-upgrade writes all remaining rows to an outfile. This causes RowDiff::compare_sets() to terminate early. So we don’t actually sync anything. Unlike TableSyncStream, we’re not working with a table but an arbitrary query executed on two servers.
sub new
sub get_sql
sub same_row
sub not_in_right
sub not_in_left
sub done_with_rows
sub done
sub key_cols
sub prepare
sub pending_changes
sub get_result_set_struct
sub as_arrayref
sub _d