mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 02:34:19 +00:00
Merge branch '2.2-lp1581752' of https://github.com/ihanick/percona-toolkit into 1581752-slow-log
This commit is contained in:
@@ -4993,7 +4993,7 @@ sub new {
|
|||||||
return bless $self, $class;
|
return bless $self, $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $slow_log_ts_line = qr/^# Time: ([0-9: ]{15})/;
|
my $slow_log_ts_line = qr/^# Time: ((?:[0-9: ]{15})|(?:[-0-9: T]{19}))/;
|
||||||
my $slow_log_uh_line = qr/# User\@Host: ([^\[]+|\[[^[]+\]).*?@ (\S*) \[(.*)\]\s*(?:Id:\s*(\d+))?/;
|
my $slow_log_uh_line = qr/# User\@Host: ([^\[]+|\[[^[]+\]).*?@ (\S*) \[(.*)\]\s*(?:Id:\s*(\d+))?/;
|
||||||
my $slow_log_hd_line = qr{
|
my $slow_log_hd_line = qr{
|
||||||
^(?:
|
^(?:
|
||||||
|
@@ -41,7 +41,7 @@ sub new {
|
|||||||
return bless $self, $class;
|
return bless $self, $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $slow_log_ts_line = qr/^# Time: ([0-9: ]{15})/;
|
my $slow_log_ts_line = qr/^# Time: ((?:[0-9: ]{15})|(?:[-0-9: T]{19}))/;
|
||||||
my $slow_log_uh_line = qr/# User\@Host: ([^\[]+|\[[^[]+\]).*?@ (\S*) \[(.*)\]\s*(?:Id:\s*(\d+))?/;
|
my $slow_log_uh_line = qr/# User\@Host: ([^\[]+|\[[^[]+\]).*?@ (\S*) \[(.*)\]\s*(?:Id:\s*(\d+))?/;
|
||||||
# These can appear in the log file when it's opened -- for example, when someone
|
# These can appear in the log file when it's opened -- for example, when someone
|
||||||
# runs FLUSH LOGS or the server starts.
|
# runs FLUSH LOGS or the server starts.
|
||||||
|
Reference in New Issue
Block a user