Commit d6d54584 authored by Kristian Nielsen's avatar Kristian Nielsen

Merge fix of embedded server build.

parents e8e2ef47 5ca061e6
...@@ -1582,6 +1582,7 @@ int ha_rollback_trans(THD *thd, bool all) ...@@ -1582,6 +1582,7 @@ int ha_rollback_trans(THD *thd, bool all)
DBUG_ASSERT(thd->transaction.stmt.ha_list == NULL || DBUG_ASSERT(thd->transaction.stmt.ha_list == NULL ||
trans == &thd->transaction.stmt); trans == &thd->transaction.stmt);
#ifdef HAVE_REPLICATION
if (is_real_trans) if (is_real_trans)
{ {
/* /*
...@@ -1599,6 +1600,7 @@ int ha_rollback_trans(THD *thd, bool all) ...@@ -1599,6 +1600,7 @@ int ha_rollback_trans(THD *thd, bool all)
if (thd->rgi_slave && thd->rgi_slave->did_mark_start_commit) if (thd->rgi_slave && thd->rgi_slave->did_mark_start_commit)
thd->rgi_slave->unmark_start_commit(); thd->rgi_slave->unmark_start_commit();
} }
#endif
if (thd->in_sub_stmt) if (thd->in_sub_stmt)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment