gw_MySQLWrite_client is now simply a call to dcb_write
This commit is contained in:
parent
655a6537b2
commit
e1c7887726
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user