Remove false debug assertion

Not all routers require statement input.
This commit is contained in:
Markus Makela
2016-11-25 17:56:19 +02:00
parent 32b0f6a607
commit bfc60ae940

View File

@ -838,7 +838,6 @@ gw_read_and_write(DCB *dcb)
*/ */
if (protocol_get_srv_command((MySQLProtocol *)dcb->protocol, false) != MYSQL_COM_UNDEFINED) if (protocol_get_srv_command((MySQLProtocol *)dcb->protocol, false) != MYSQL_COM_UNDEFINED)
{ {
ss_dassert(rcap_type_required(capabilities, RCAP_TYPE_STMT_INPUT));
read_buffer = process_response_data(dcb, read_buffer, gwbuf_length(read_buffer)); read_buffer = process_response_data(dcb, read_buffer, gwbuf_length(read_buffer));
/** /**
* Received incomplete response to session command. * Received incomplete response to session command.