MDEV-7962: Remove one more wsrep_on()
trx_rollback_to_savepoint(): Invoke trx_t::is_wsrep().
This commit is contained in:
parent
cfbbf5424b
commit
5ba2aa1ddc
@ -178,8 +178,7 @@ trx_rollback_to_savepoint(
|
||||
complete rollback */
|
||||
{
|
||||
#ifdef WITH_WSREP
|
||||
if (savept == NULL && wsrep_on(trx->mysql_thd)
|
||||
&& wsrep_thd_is_SR(trx->mysql_thd)) {
|
||||
if (!savept && trx->is_wsrep() && wsrep_thd_is_SR(trx->mysql_thd)) {
|
||||
wsrep_handle_SR_rollback(NULL, trx->mysql_thd);
|
||||
}
|
||||
#endif /* WITH_WSREP */
|
||||
|
Loading…
x
Reference in New Issue
Block a user