Fix build failures caused by merge

A variable was not added that was used and a comparison between signed and
unsigned integers was made.
This commit is contained in:
Markus Mäkelä
2017-11-21 16:54:24 +02:00
parent afcb708e6e
commit 70bf901102
2 changed files with 3 additions and 2 deletions

View File

@ -426,8 +426,8 @@ int gw_read_client_event(DCB* dcb)
MySQLProtocol *protocol;
GWBUF *read_buffer = NULL;
int return_code = 0;
int nbytes_read = 0;
int max_bytes = 0;
uint32_t nbytes_read = 0;
uint32_t max_bytes = 0;
CHK_DCB(dcb);
if (dcb->dcb_role != DCB_ROLE_CLIENT_HANDLER)