mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
Merge branch '11.4' into bb-11.8-release
This commit is contained in:
@@ -6541,6 +6541,8 @@ start_new_trans::start_new_trans(THD *thd)
|
||||
thd->server_status&= ~(SERVER_STATUS_IN_TRANS |
|
||||
SERVER_STATUS_IN_TRANS_READONLY);
|
||||
thd->server_status|= SERVER_STATUS_AUTOCOMMIT;
|
||||
org_rgi_slave= thd->rgi_slave;
|
||||
thd->rgi_slave= NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -6557,6 +6559,7 @@ void start_new_trans::restore_old_transaction()
|
||||
MYSQL_COMMIT_TRANSACTION(org_thd->m_transaction_psi);
|
||||
org_thd->m_transaction_psi= m_transaction_psi;
|
||||
org_thd->variables.wsrep_on= wsrep_on;
|
||||
org_thd->rgi_slave= org_rgi_slave;
|
||||
org_thd= 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user