Bug#17234370 LAST_INSERT_ID IS REPLICATED INCORRECTLY IF

REPLICATION FILTERS ARE USED.
Merging fix from mysql-5.1
This commit is contained in:
Venkatesh Duggirala 2013-10-16 22:15:59 +05:30
commit 633cc16e7c

View file

@ -5508,7 +5508,6 @@ int Intvar_log_event::do_apply_event(Relay_log_info const *rli)
switch (type) {
case LAST_INSERT_ID_EVENT:
thd->stmt_depends_on_first_successful_insert_id_in_prev_stmt= 1;
thd->first_successful_insert_id_in_prev_stmt= val;
break;
case INSERT_ID_EVENT: