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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user