mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-12 02:00:49 +08:00
@@ -2866,7 +2866,7 @@ sub parse {
|
|||||||
my ( $type ) = $def =~ m/`[^`]+`\s([a-z]+)/;
|
my ( $type ) = $def =~ m/`[^`]+`\s([a-z]+)/;
|
||||||
die "Can't determine column type for $def" unless $type;
|
die "Can't determine column type for $def" unless $type;
|
||||||
$type_for{$col} = $type;
|
$type_for{$col} = $type;
|
||||||
if ( $type =~ m/(?:(?:tiny|big|medium|small)?int|float|double|decimal|year)/ ) {
|
if ( $type =~ m/(?:(?:tiny|big|medium|small)?\bint|float|double|decimal|year)/ ) {
|
||||||
push @nums, $col;
|
push @nums, $col;
|
||||||
$is_numeric{$col} = 1;
|
$is_numeric{$col} = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user