merge from lp:codership-mysql/5.5 rev #3895
This commit is contained in:
parent
a2594e96f7
commit
4a11e84414
@ -69,6 +69,8 @@ void wsrep_cleanup_transaction(THD *thd)
|
|||||||
handlerton *wsrep_hton;
|
handlerton *wsrep_hton;
|
||||||
|
|
||||||
void wsrep_register_hton(THD* thd, bool all)
|
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;
|
THD_TRANS *trans=all ? &thd->transaction.all : &thd->transaction.stmt;
|
||||||
for (Ha_trx_info *i= trans->ha_list; WSREP(thd) && i; i = i->next())
|
for (Ha_trx_info *i= trans->ha_list; WSREP(thd) && i; i = i->next())
|
||||||
@ -86,6 +88,7 @@ void wsrep_register_hton(THD* thd, bool all)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
wsrep exploits binlog's caches even if binlogging itself is not
|
wsrep exploits binlog's caches even if binlogging itself is not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user