Rewrite TableSyncer to use only NibbleIterator. Add RowSyncer. Return hashref from NibbleIterator.

This commit is contained in:
Daniel Nichter
2011-12-21 01:19:50 -07:00
parent 6fad44d58c
commit 4c8fd5c080
5 changed files with 526 additions and 752 deletions

View File

@@ -93,7 +93,7 @@ sub make_row_checksum {
}
if ( uc $func ne 'FNV_64' && uc $func ne 'FNV1A_64' ) {
my $sep = $o->get('separator') || '#';
my $sep = ($o->has('separator') && $o->get('separator')) || '#';
$sep =~ s/'//g;
$sep ||= '#';