Skip to content

Commit

Permalink
Fix embedded server build
Browse files Browse the repository at this point in the history
  • Loading branch information
knielsen committed Aug 4, 2015
1 parent 9b9c5e8 commit 5ca061e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1582,6 +1582,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 @@ -1599,6 +1600,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 5ca061e

Please sign in to comment.