PT-126 Recognize comments having quotes

This commit is contained in:
Carlos Salguero
2017-05-16 13:53:49 -03:00
parent 04961a8f07
commit 109af35a49
2 changed files with 4 additions and 3 deletions

View File

@@ -10053,7 +10053,8 @@ sub find_renamed_cols {
/x;
my $table_ident = qr/$unquoted_ident|`$quoted_ident`|"$ansi_quotes_ident"/;
my $alter_change_col_re = qr/\bCHANGE \s+ (?:COLUMN \s+)? (?:COMMENT\s+[^\]['"].*?[^\]['"])?
my $alter_change_col_re = qr/\bCHANGE \s+ (?:COLUMN \s+)? (?:COMMENT\s+[^\]['].*?[^\]['])?
(?:COMMENT\s+[^\]["].*?[^\]["])?
($table_ident) \s+ ($table_ident)/ix;
my %renames;