Removed another invalid assert. It is allowed to read more or less than the first arrived packet contains.
This commit is contained in:
parent
af84b9560a
commit
e19157e674
@ -616,7 +616,6 @@ int gw_read_client_event(DCB* dcb) {
|
|||||||
goto return_rc;
|
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.
|
* Now there should be at least one complete mysql packet in read_buffer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user