From e6cdfa4dd43185f8ff4e4535acaf06641e6417e0 Mon Sep 17 00:00:00 2001 From: VilhoRaatikka Date: Wed, 21 May 2014 09:22:36 +0300 Subject: [PATCH] Removed another invalid assert. It is allowed to read less or more than content of the first arrived packet. --- server/modules/protocol/mysql_client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/server/modules/protocol/mysql_client.c b/server/modules/protocol/mysql_client.c index 3096225dc..16735e817 100644 --- a/server/modules/protocol/mysql_client.c +++ b/server/modules/protocol/mysql_client.c @@ -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.