Run BLOB/TEXT/BINARY columns against CRC32 during row checksum to prevent CONCAT_WS overflow and null _crc_col

This commit is contained in:
Jervin R
2016-06-17 06:32:07 +08:00
parent 4534b731ad
commit 336d9605c7

View File

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