summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorVenkatesh Duggirala <venkatesh.duggirala@oracle.com>2013-10-16 22:15:59 +0530
committerVenkatesh Duggirala <venkatesh.duggirala@oracle.com>2013-10-16 22:15:59 +0530
commit633cc16e7cf12af2e479db251ad1bbd285df50d6 (patch)
treed98b94d794447a82dc6270d5ba1fa517ddfd88bb /sql
parente84d48742e80eb185466feb5efd5b5352bbc7bfc (diff)
parent2b07397b2021ce598f0bde23a15b1e7983722463 (diff)
downloadmariadb-git-633cc16e7cf12af2e479db251ad1bbd285df50d6.tar.gz
Bug#17234370 LAST_INSERT_ID IS REPLICATED INCORRECTLY IF
REPLICATION FILTERS ARE USED. Merging fix from mysql-5.1
Diffstat (limited to 'sql')
-rw-r--r--sql/log_event.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 31ee950dbe4..a226d5a2317 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -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: