Commit 4cb38dfe authored by Venkatesh Duggirala's avatar Venkatesh Duggirala

BUG#11752707-SLAVE CRASHES IF RBR HAS AS DESTINATION A VIEW RATHER

THAN A TABLE.
Merging fix from mysql-5.1
parents 16ef9332 440bcbd8
......@@ -8765,6 +8765,7 @@ int Table_map_log_event::do_apply_event(Relay_log_info const *rli)
table_list->table_id= DBUG_EVALUATE_IF("inject_tblmap_same_id_maps_diff_table", 0, m_table_id);
table_list->updating= 1;
table_list->required_type= FRMTYPE_TABLE;
DBUG_PRINT("debug", ("table: %s is mapped to %u", table_list->table_name, table_list->table_id));
enum_tbl_map_status tblmap_status= check_table_map(rli, table_list);
if (tblmap_status == OK_TO_PROCESS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment