diff --git a/bin/pt-table-sync b/bin/pt-table-sync index 0db00dbd..7be4ed1d 100755 --- a/bin/pt-table-sync +++ b/bin/pt-table-sync @@ -4862,6 +4862,9 @@ sub make_row_checksum { elsif ( $args{trim} && $type =~ m/varchar/ ) { $result = "TRIM($result)"; } + elsif ( $type =~ m/binary|text|blob/ ) { + $result = "CRC32($result)"; + } $result; } grep {