Use SQLSTATE 08S01 for hangup errors
This will tell the connectors that the connection cannot be used.
This commit is contained in:
parent
060a96d7f3
commit
7cc4018c15
@ -1446,7 +1446,7 @@ static int gw_client_hangup_event(DCB *dcb)
|
||||
goto retblock;
|
||||
}
|
||||
|
||||
modutil_send_mysql_err_packet(dcb, 0, 0, 1927, "70100", "Connection killed by MaxScale");
|
||||
modutil_send_mysql_err_packet(dcb, 0, 0, 1927, "08S01", "Connection killed by MaxScale");
|
||||
dcb_close(dcb);
|
||||
|
||||
retblock:
|
||||
|
Loading…
x
Reference in New Issue
Block a user