- fix for THD::m_digest initialization, according to Raghu
This commit is contained in:
sjaakola 2015-05-26 15:44:34 +03:00 committed by Nirbhay Choubey
parent 483078b1b1
commit 197e9d2559
2 changed files with 2 additions and 0 deletions

View File

@ -7016,6 +7016,7 @@ static void wsrep_mysql_parse(THD *thd, char *rawbuf, uint length,
/* Performance Schema Interface instrumentation, end */
MYSQL_END_STATEMENT(thd->m_statement_psi, thd->get_stmt_da());
thd->m_statement_psi= NULL;
thd->m_digest= NULL;
close_thread_tables(thd);
thd->wsrep_conflict_state= RETRY_AUTOCOMMIT;

View File

@ -214,6 +214,7 @@ void wsrep_replay_transaction(THD *thd)
*/
MYSQL_END_STATEMENT(thd->m_statement_psi, thd->get_stmt_da());
thd->m_statement_psi= NULL;
thd->m_digest= NULL;
thd_proc_info(thd, "wsrep replaying trx");
WSREP_DEBUG("replay trx: %s %lld",
thd->query() ? thd->query() : "void",