mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Fixed issue with retrying autocommitted transactions. We might need to
clean up the explain structure in this case.
This commit is contained in:
@@ -6788,6 +6788,11 @@ static void wsrep_mysql_parse(THD *thd, char *rawbuf, uint length,
|
||||
}
|
||||
mysql_mutex_unlock(&thd->LOCK_wsrep_thd);
|
||||
}
|
||||
|
||||
/* If retry is requested clean up explain structure */
|
||||
if (thd->wsrep_conflict_state == RETRY_AUTOCOMMIT && thd->lex->explain)
|
||||
delete_explain_query(thd->lex);
|
||||
|
||||
} while (thd->wsrep_conflict_state== RETRY_AUTOCOMMIT);
|
||||
|
||||
if (thd->wsrep_retry_query)
|
||||
|
Reference in New Issue
Block a user