mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-14 15:33:49 +00:00
Run BLOB/TEXT/BINARY columns against CRC32 during row checksum to prevent CONCAT_WS overflow and null _crc_col
This commit is contained in:
@@ -5885,6 +5885,9 @@ sub get_checksum_columns {
|
|||||||
elsif ( $trim && $type =~ m/varchar/ ) {
|
elsif ( $trim && $type =~ m/varchar/ ) {
|
||||||
$result = "TRIM($result)";
|
$result = "TRIM($result)";
|
||||||
}
|
}
|
||||||
|
elsif ( $type =~ m/blob|text|binary/ ) {
|
||||||
|
$result = "CRC32($result)";
|
||||||
|
}
|
||||||
$result;
|
$result;
|
||||||
}
|
}
|
||||||
grep {
|
grep {
|
||||||
|
Reference in New Issue
Block a user