diff --git a/server/modules/protocol/mysql_common.c b/server/modules/protocol/mysql_common.c index 2dc77a7ac..0e85f51ed 100644 --- a/server/modules/protocol/mysql_common.c +++ b/server/modules/protocol/mysql_common.c @@ -287,7 +287,7 @@ int gw_read_backend_handshake( pthread_self(), conn->owner_dcb->fd, pthread_self()))); - + while(head = gwbuf_consume(head, GWBUF_LENGTH(head))); return 1; }