"RESET" commands for some reason are never written to the binary log :
..
case SQLCOM_RESET:
/*
RESET commands are never written to the binary log, so we have to
initialize this variable because RESET shares the same code as FLUSH
*/
lex->no_write_to_binlog= 1;
/* fallthrough */
case SQLCOM_FLUSH:
..
"RESET" commands for some reason are never written to the binary log : >no_write_ to_binlog= 1;
..
case SQLCOM_RESET:
/*
RESET commands are never written to the binary log, so we have to
initialize this variable because RESET shares the same code as FLUSH
*/
lex-
/* fallthrough */
case SQLCOM_FLUSH:
..