From 2c306409b6f9f4c0c2f689d1ce12503d93a07f6f Mon Sep 17 00:00:00 2001 From: MassimilianoPinto Date: Mon, 26 May 2014 17:30:36 +0200 Subject: [PATCH] newline removed newline removed --- server/modules/protocol/mysql_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/modules/protocol/mysql_common.c b/server/modules/protocol/mysql_common.c index 6f2d1cd06..46009d457 100644 --- a/server/modules/protocol/mysql_common.c +++ b/server/modules/protocol/mysql_common.c @@ -1323,9 +1323,8 @@ GWBUF* gw_MySQL_get_next_packet( size_t packetlen; size_t totalbuflen; uint8_t* data; - readbuf = *p_readbuf; - + if (readbuf == NULL) { packetbuf = NULL;