diff --git a/sql/log_event_server.cc b/sql/log_event_server.cc index e9a096ef488..99841afdd0c 100644 --- a/sql/log_event_server.cc +++ b/sql/log_event_server.cc @@ -6839,8 +6839,6 @@ int Table_map_log_event::do_apply_event(rpl_group_info *rgi) enum_tbl_map_status tblmap_status= check_table_map(rgi, table_list); if (tblmap_status == OK_TO_PROCESS) { - DBUG_ASSERT(thd->lex->query_tables != table_list); - /* We record in the slave's information that the table should be locked by linking the table into the list of tables to lock.