mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 07:54:58 +00:00
Processlist.pm: parse_event assumed that STATE couldn't be NULL.
Probably an oversight, since the rest of the library already dealt with that by treating it as an empty string.
This commit is contained in:
@@ -2222,7 +2222,7 @@ sub parse_event {
|
||||
int($query_start), # START
|
||||
$etime, # ETIME
|
||||
$time, # FSEEN
|
||||
{ $curr->[STATE] => 0 }, # PROFILE
|
||||
{ ($curr->[STATE] || "") => 0 }, # PROFILE
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -2236,7 +2236,7 @@ sub parse_event {
|
||||
int($query_start), # START
|
||||
$etime, # ETIME
|
||||
$time, # FSEEN
|
||||
{ $curr->[STATE] => 0 }, # PROFILE
|
||||
{ ($curr->[STATE] || "") => 0 }, # PROFILE
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user