From c4260e5d7af5c3ff3bec0bcaee0d8bdc1b73fd85 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Wed, 18 Dec 2024 16:11:27 +0200 Subject: [PATCH] Fix typos --- bin/pt-table-usage | 2 +- lib/SQLParser.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pt-table-usage b/bin/pt-table-usage index a9848da8..f5cabd8d 100755 --- a/bin/pt-table-usage +++ b/bin/pt-table-usage @@ -3952,7 +3952,7 @@ my $unquoted_ident = qr/ my $ident_alias = qr/ \s+ # space before alias (?:(AS)\s+)? # optional AS keyword - ((?>$quoted_ident|$unquoted_ident)) # alais + ((?>$quoted_ident|$unquoted_ident)) # alias /xi; my $table_ident = qr/(?: diff --git a/lib/SQLParser.pm b/lib/SQLParser.pm index 8c16ff2e..514a30d7 100644 --- a/lib/SQLParser.pm +++ b/lib/SQLParser.pm @@ -59,7 +59,7 @@ my $unquoted_ident = qr/ my $ident_alias = qr/ \s+ # space before alias (?:(AS)\s+)? # optional AS keyword - ((?>$quoted_ident|$unquoted_ident)) # alais + ((?>$quoted_ident|$unquoted_ident)) # alias /xi; # A table is identified by 1 or 2 identifiers separated by a period