mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 17:09:20 +00:00
Removed a useless part of the regex that looked for something function-like, and made the NULL check case-insensitive
This commit is contained in:
@@ -4056,8 +4056,8 @@ sub determine_table_for_column {
|
||||
|
||||
sub _looks_like_column {
|
||||
my $col = shift;
|
||||
return if $col eq '*' || $col eq 'NULL';
|
||||
return if $col =~ /\A(?:\b[0-9]+\b|[^(]+\(|\@{1,2}.+)/;
|
||||
return if $col eq '*' || uc($col) eq 'NULL';
|
||||
return if $col =~ /\A(?:\b[0-9]+\b|\@{1,2}.+)/;
|
||||
return $col;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user