summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index d205a08e708..66f3ff899d1 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -6892,9 +6892,7 @@ int Intvar_log_event::do_apply_event(rpl_group_info *rgi)
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_for_binlog=
- thd->first_successful_insert_id_in_prev_stmt= val;
+ thd->first_successful_insert_id_in_prev_stmt= val;
DBUG_PRINT("info",("last_insert_id_event: %ld", (long) val));
break;
case INSERT_ID_EVENT: