1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-6740 : Galera crash in rpl_sql_thread_info/cached_charset_compare

Properly initialized rpl_sql_thread_info for bf threads.
Also removed some dead code.
This commit is contained in:
Nirbhay Choubey
2014-09-22 12:15:44 -04:00
parent c4356bfccb
commit 4538665a63
4 changed files with 16 additions and 33 deletions

View File

@ -6812,7 +6812,7 @@ void mysql_init_multi_delete(LEX *lex)
static void wsrep_mysql_parse(THD *thd, char *rawbuf, uint length,
Parser_state *parser_state)
{
bool is_autocommit=
bool is_autocommit=
!thd->in_multi_stmt_transaction_mode() &&
thd->wsrep_conflict_state == NO_CONFLICT &&
!thd->wsrep_applier &&
@ -6840,7 +6840,7 @@ static void wsrep_mysql_parse(THD *thd, char *rawbuf, uint length,
WSREP_DEBUG("abort in exec query state, avoiding autocommit");
}
if (thd->wsrep_conflict_state== MUST_REPLAY)
if (thd->wsrep_conflict_state == MUST_REPLAY)
{
wsrep_replay_transaction(thd);
}