mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
Add Error_msg (but no Error_no) when client closes connection during handshake.
This commit is contained in:
@@ -3140,6 +3140,7 @@ sub parse_event {
|
||||
arg => 'administrator command: Connect',
|
||||
ts => $packet->{ts},
|
||||
};
|
||||
$session->{attribs}->{Error_msg} = 'Client closed connection during handshake';
|
||||
$event = $self->_make_event($event, $packet, $session);
|
||||
delete $self->{sessions}->{$session->{client}};
|
||||
return $event;
|
||||
|
@@ -348,6 +348,7 @@ sub parse_event {
|
||||
arg => 'administrator command: Connect',
|
||||
ts => $packet->{ts},
|
||||
};
|
||||
$session->{attribs}->{Error_msg} = 'Client closed connection during handshake';
|
||||
$event = $self->_make_event($event, $packet, $session);
|
||||
delete $self->{sessions}->{$session->{client}};
|
||||
return $event;
|
||||
|
@@ -1708,6 +1708,7 @@ test_protocol_parser(
|
||||
pos_in_log => undef,
|
||||
ts => '130124 12:55:48.274417',
|
||||
user => undef,
|
||||
Error_msg => 'Client closed connection during handshake',
|
||||
}
|
||||
],
|
||||
);
|
||||
@@ -1739,6 +1740,7 @@ test_protocol_parser(
|
||||
pos_in_log => undef,
|
||||
ts => '130122 09:55:57.793375',
|
||||
user => undef,
|
||||
Error_msg => 'Client closed connection during handshake',
|
||||
},
|
||||
],
|
||||
);
|
||||
|
@@ -21,6 +21,7 @@
|
||||
# Query size 100 30 30 30 30 30 0 30
|
||||
# Warning coun 0 0 0 0 0 0 0 0
|
||||
# String:
|
||||
# Error msg Client closed connection during handshake
|
||||
# Hosts 100.0.0.2
|
||||
# Query_time distribution
|
||||
# 1us
|
||||
|
Reference in New Issue
Block a user