Removed unused protocol_mutex and references to it.
This commit is contained in:
@ -70,7 +70,6 @@ MySQLProtocol *gw_mysql_init(MySQLProtocol *data) {
|
|||||||
}
|
}
|
||||||
input->protocol_chk_top = CHK_NUM_PROTOCOL;
|
input->protocol_chk_top = CHK_NUM_PROTOCOL;
|
||||||
input->protocol_chk_tail = CHK_NUM_PROTOCOL;
|
input->protocol_chk_tail = CHK_NUM_PROTOCOL;
|
||||||
simple_mutex_init(&input->protocol_mutex, "MySQL Protocol mutex");
|
|
||||||
#ifdef MYSQL_CONN_DEBUG
|
#ifdef MYSQL_CONN_DEBUG
|
||||||
fprintf(stderr, "gw_mysql_init() called\n");
|
fprintf(stderr, "gw_mysql_init() called\n");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -114,7 +114,6 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
skygw_chk_t protocol_chk_top;
|
skygw_chk_t protocol_chk_top;
|
||||||
simple_mutex_t protocol_mutex;
|
|
||||||
int fd; /* The socket descriptor */
|
int fd; /* The socket descriptor */
|
||||||
struct dcb *descriptor; /** The DCB of the socket
|
struct dcb *descriptor; /** The DCB of the socket
|
||||||
* we are running on */
|
* we are running on */
|
||||||
|
|||||||
@ -65,7 +65,6 @@ MySQLProtocol *gw_mysql_init(MySQLProtocol *data) {
|
|||||||
}
|
}
|
||||||
input->protocol_chk_top = CHK_NUM_PROTOCOL;
|
input->protocol_chk_top = CHK_NUM_PROTOCOL;
|
||||||
input->protocol_chk_tail = CHK_NUM_PROTOCOL;
|
input->protocol_chk_tail = CHK_NUM_PROTOCOL;
|
||||||
simple_mutex_init(&input->protocol_mutex, "MySQL Protocol mutex");
|
|
||||||
|
|
||||||
#ifdef MYSQL_CONN_DEBUG
|
#ifdef MYSQL_CONN_DEBUG
|
||||||
fprintf(stderr, "gw_mysql_init() called\n");
|
fprintf(stderr, "gw_mysql_init() called\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user