Use SQLSTATE 08S01 for hangup errors
This will tell the connectors that the connection cannot be used.
This commit is contained in:
		@ -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:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user