From e1c7887726df6bb862f7df4acc47295f2ac18dc9 Mon Sep 17 00:00:00 2001 From: Massimiliano Pinto Date: Mon, 7 Oct 2013 16:34:15 +0200 Subject: [PATCH] gw_MySQLWrite_client is now simply a call to dcb_write --- server/modules/protocol/mysql_client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/modules/protocol/mysql_client.c b/server/modules/protocol/mysql_client.c index a5fed9e24..9e49ae319 100644 --- a/server/modules/protocol/mysql_client.c +++ b/server/modules/protocol/mysql_client.c @@ -433,6 +433,9 @@ static int gw_mysql_do_authentication(DCB *dcb, GWBUF *queue) { int gw_MySQLWrite_client(DCB *dcb, GWBUF *queue) { +#if 1 + return dcb_write(dcb, queue); +#else int w, saved_errno = 0; spinlock_acquire(&dcb->writeqlock); @@ -498,6 +501,7 @@ int w, saved_errno = 0; } return 0; +#endif } /**