Skip to content

Commit

Permalink
Merge branch 'mdev8302-3' into 10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
knielsen committed Aug 4, 2015
2 parents dbd2057 + 5ca061e commit afd59b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/handler.cc
Expand Up @@ -1615,6 +1615,7 @@ int ha_rollback_trans(THD *thd, bool all)
DBUG_ASSERT(thd->transaction.stmt.ha_list == NULL ||
trans == &thd->transaction.stmt);

#ifdef HAVE_REPLICATION
if (is_real_trans)
{
/*
Expand All @@ -1632,6 +1633,7 @@ int ha_rollback_trans(THD *thd, bool all)
if (thd->rgi_slave && thd->rgi_slave->did_mark_start_commit)
thd->rgi_slave->unmark_start_commit();
}
#endif

if (thd->in_sub_stmt)
{
Expand Down

0 comments on commit afd59b5

Please sign in to comment.