1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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

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: