Use SQLSTATE 08S01 for hangup errors

This will tell the connectors that the connection cannot be used.
This commit is contained in:
Markus Mäkelä 2017-11-15 15:00:40 +02:00
parent 060a96d7f3
commit 7cc4018c15

View File

@ -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: