mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-33064: Sync trx->wsrep state from THD on trx start
Replace trx->wsrep= 0 with an assert in trx_rollback_for_mysql() Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
This commit is contained in:
parent
901c6c7ab6
commit
d1f2ceee1b
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ dberr_t trx_rollback_for_mysql(trx_t* trx)
|
|||
trx->will_lock = false;
|
||||
ut_ad(trx->mysql_thd);
|
||||
#ifdef WITH_WSREP
|
||||
trx->wsrep= false;
|
||||
ut_ad(!trx->is_wsrep());
|
||||
trx->lock.was_chosen_as_wsrep_victim= false;
|
||||
#endif
|
||||
return(DB_SUCCESS);
|
||||
|
|
Loading…
Add table
Reference in a new issue