mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
After merge fixes
This commit is contained in:
@ -1506,17 +1506,6 @@ commit_one_phase_2(THD *thd, bool all, THD_TRANS *trans, bool is_real_trans)
|
||||
int error= 0;
|
||||
Ha_trx_info *ha_info= trans->ha_list, *ha_info_next;
|
||||
DBUG_ENTER("commit_one_phase_2");
|
||||
#ifdef WITH_WSREP
|
||||
#ifdef WSREP_PROC_INFO
|
||||
char info[64]= { 0, };
|
||||
snprintf (info, sizeof(info) - 1, "ha_commit_one_phase(%lld)",
|
||||
(long long)thd->wsrep_trx_seqno);
|
||||
#else
|
||||
const char info[]="ha_commit_one_phase()";
|
||||
#endif /* WSREP_PROC_INFO */
|
||||
char* tmp_info= NULL;
|
||||
if (WSREP(thd)) tmp_info= (char *)thd_proc_info(thd, info);
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
if (ha_info)
|
||||
{
|
||||
@ -1551,9 +1540,6 @@ commit_one_phase_2(THD *thd, bool all, THD_TRANS *trans, bool is_real_trans)
|
||||
#else
|
||||
thd->transaction.cleanup();
|
||||
#endif /* WITH_WSREP */
|
||||
#ifdef WITH_WSREP
|
||||
if (WSREP(thd)) thd_proc_info(thd, tmp_info);
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
DBUG_RETURN(error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user