bug-1592608 BLOB/TEXT/BINARY Checksum uses CRC32

This commit is contained in:
Carlos Salguero
2016-06-23 17:14:25 -03:00
parent 3818331685
commit c7e7ba7331
4 changed files with 79 additions and 1 deletions

View File

@@ -224,6 +224,9 @@ sub get_checksum_columns {
elsif ( $trim && $type =~ m/varchar/ ) {
$result = "TRIM($result)";
}
elsif ( $type =~ m/blob|text|binary/ ) {
$result = "CRC32($result)";
}
$result;
}
grep {