Removed another invalid assert. It is allowed to read less or more than content of the first arrived packet.

This commit is contained in:
VilhoRaatikka 2014-05-21 09:22:36 +03:00
parent af84b9560a
commit e6cdfa4dd4

View File

@ -616,7 +616,6 @@ int gw_read_client_event(DCB* dcb) {
goto return_rc;
}
}
ss_dassert(nbytes_read >= MYSQL_GET_PACKET_LEN((uint8_t *)GWBUF_DATA(read_buffer))+4);
/**
* Now there should be at least one complete mysql packet in read_buffer.