Commit 4a11e844 authored by Seppo Jaakola's avatar Seppo Jaakola

merge from lp:codership-mysql/5.5 rev #3895

parent a2594e96
......@@ -70,6 +70,8 @@ handlerton *wsrep_hton;
void wsrep_register_hton(THD* thd, bool all)
{
if (thd->wsrep_exec_mode == LOCAL_STATE)
{
THD_TRANS *trans=all ? &thd->transaction.all : &thd->transaction.stmt;
for (Ha_trx_info *i= trans->ha_list; WSREP(thd) && i; i = i->next())
{
......@@ -85,6 +87,7 @@ void wsrep_register_hton(THD* thd, bool all)
break;
}
}
}
}
/*
......
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