
No the session QUERY_TYPE_SESSION_WRITE case has a switch for the rigth func to call on master and slave backends switch(packet_type) { case COM_QUIT: func.write , there is no reply from this command case COM_CHANGE_USER: func.auth default: func.session }