Commit 633cc16e authored by Venkatesh Duggirala's avatar Venkatesh Duggirala

Bug#17234370 LAST_INSERT_ID IS REPLICATED INCORRECTLY IF

REPLICATION FILTERS ARE USED.
Merging fix from mysql-5.1
parents e84d4874 2b07397b
......@@ -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:
......
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