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-05-25 12:53:28 +08:00
parent 336d9605c7
commit 3818331685

View File

@@ -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 {