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

This commit is contained in:
VilhoRaatikka 2014-05-21 09:25:57 +03:00
parent af84b9560a
commit e19157e674

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.