mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 16:10:28 +00:00
Merged changehandler-dont-hexify-text-cols, addendum to bug 1038276
This commit is contained in:
@@ -3576,7 +3576,7 @@ sub make_fetch_back_query {
|
||||
map {
|
||||
my $col = $_;
|
||||
if ( $self->{hex_blob}
|
||||
&& $tbl_struct->{type_for}->{$col} =~ m/blob|text|binary/ ) {
|
||||
&& $tbl_struct->{type_for}->{$col} =~ m/b(?:lob|inary)/ ) {
|
||||
$col = "IF(BINARY(`$col`)='', '', CONCAT('0x', HEX(`$col`))) AS `$col`";
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user