MXS-2013 Remove all CHK_-macros
This commit is contained in:
@ -300,7 +300,6 @@ cdc_auth_set_protocol_data(DCB *dcb, GWBUF *buf)
|
||||
int client_auth_packet_size = 0;
|
||||
|
||||
protocol = DCB_PROTOCOL(dcb, CDC_protocol);
|
||||
CHK_PROTOCOL(protocol);
|
||||
if (dcb->data == NULL)
|
||||
{
|
||||
if (NULL == (client_data = (CDC_session *)MXS_CALLOC(1, sizeof(CDC_session))))
|
||||
|
@ -377,7 +377,6 @@ mysql_auth_set_protocol_data(DCB *dcb, GWBUF *buf)
|
||||
MYSQL_session *client_data = NULL;
|
||||
int client_auth_packet_size = 0;
|
||||
protocol = DCB_PROTOCOL(dcb, MySQLProtocol);
|
||||
CHK_PROTOCOL(protocol);
|
||||
|
||||
client_data = (MYSQL_session *)dcb->data;
|
||||
|
||||
|
Reference in New Issue
Block a user