Merge branch 'bug425' of https://github.com/skysql/MaxScale into bug425

This commit is contained in:
VilhoRaatikka
2014-05-20 22:42:07 +03:00

View File

@ -617,8 +617,6 @@ int gw_read_client_event(DCB* dcb) {
} }
} }
ss_dassert(nbytes_read >= MYSQL_GET_PACKET_LEN((uint8_t *)GWBUF_DATA(read_buffer))+4); ss_dassert(nbytes_read >= MYSQL_GET_PACKET_LEN((uint8_t *)GWBUF_DATA(read_buffer))+4);
ss_dassert(nbytes_read == MYSQL_GET_PACKET_LEN((uint8_t *)GWBUF_DATA(read_buffer))+4 ||
dcb->dcb_readqueue != NULL);
/** /**
* Now there should be at least one complete mysql packet in read_buffer. * Now there should be at least one complete mysql packet in read_buffer.