mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-26 23:45:44 +00:00
Fix for 930693: ChangeHandler and text columns with just whitespace
This commit is contained in:
@@ -4746,7 +4746,7 @@ sub make_fetch_back_query {
|
||||
my $col = $_;
|
||||
if ( $self->{hex_blob}
|
||||
&& $tbl_struct->{type_for}->{$col} =~ m/blob|text|binary/ ) {
|
||||
$col = "IF(`$col`='', '', CONCAT('0x', HEX(`$col`))) AS `$col`";
|
||||
$col = "IF(BINARY(`$col`)='', '', CONCAT('0x', HEX(`$col`))) AS `$col`";
|
||||
}
|
||||
else {
|
||||
$col = "`$col`";
|
||||
|
Reference in New Issue
Block a user