Some fprintf has been removed
This commit is contained in:
parent
368ce2d8b7
commit
84ec7ffd51
@ -339,7 +339,6 @@ int gw_handle_write_event(DCB *dcb, int epfd) {
|
||||
int n;
|
||||
struct epoll_event new_event;
|
||||
|
||||
|
||||
if (dcb == NULL) {
|
||||
fprintf(stderr, "DCB is NULL, return\n");
|
||||
return 1;
|
||||
@ -374,10 +373,6 @@ int gw_handle_write_event(DCB *dcb, int epfd) {
|
||||
|
||||
protocol->state = MYSQL_IDLE;
|
||||
|
||||
//#ifdef GW_DEBUG_WRITE_EVENT
|
||||
fprintf(stderr, "DCB [%i], EPOLLIN Protocol next state MYSQL_IDLE [%i], Packet #%i for socket %i, scramble [%s]\n", dcb->state, protocol->state, 2, dcb->fd, protocol->scramble);
|
||||
//#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -429,10 +424,6 @@ int gw_handle_write_event(DCB *dcb, int epfd) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
//#ifdef GW_DEBUG_WRITE_EVENT
|
||||
fprintf(stderr, "$$$$$ DCB [%i], EPOLLOUT Protocol state is [%i] did nothing !!!!\n", dcb->state, protocol->state);
|
||||
//#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user