diff --git a/server/modules/protocol/mysql_common.c b/server/modules/protocol/mysql_common.c index 0e85f51ed..ffd72c034 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))); + while((head = gwbuf_consume(head, GWBUF_LENGTH(head)))); return 1; }