Skip to content

Commit afd59b5

Browse files
committed
Merge branch 'mdev8302-3' into 10.1
2 parents dbd2057 + 5ca061e commit afd59b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/handler.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,7 @@ int ha_rollback_trans(THD *thd, bool all)
16151615
DBUG_ASSERT(thd->transaction.stmt.ha_list == NULL ||
16161616
trans == &thd->transaction.stmt);
16171617

1618+
#ifdef HAVE_REPLICATION
16181619
if (is_real_trans)
16191620
{
16201621
/*
@@ -1632,6 +1633,7 @@ int ha_rollback_trans(THD *thd, bool all)
16321633
if (thd->rgi_slave && thd->rgi_slave->did_mark_start_commit)
16331634
thd->rgi_slave->unmark_start_commit();
16341635
}
1636+
#endif
16351637

16361638
if (thd->in_sub_stmt)
16371639
{

0 commit comments

Comments
 (0)