mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-22051: Protocol::end_statement(): Assertion `0' failed on Galera node upon DDL attempt with conflicting lock
If FTWRL is issued, DDL statements should report error back to user before TOI is started.
This commit is contained in:
@ -3527,7 +3527,7 @@ mysql_execute_command(THD *thd)
|
||||
* and dirty reads (if configured)
|
||||
*/
|
||||
if (!(thd->wsrep_applier) &&
|
||||
!(wsrep_ready_get() && wsrep_reject_queries == WSREP_REJECT_NONE) &&
|
||||
!(wsrep_ready_get() && wsrep_reject_queries == WSREP_REJECT_NONE) &&
|
||||
!(thd->variables.wsrep_dirty_reads &&
|
||||
(sql_command_flags[lex->sql_command] & CF_CHANGES_DATA) == 0) &&
|
||||
!wsrep_tables_accessible_when_detached(all_tables) &&
|
||||
|
Reference in New Issue
Block a user