mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge 11.4 into 11.8
This commit is contained in:
@@ -622,7 +622,12 @@ bool mysql_create_or_drop_trigger(THD *thd, TABLE_LIST *tables, bool create)
|
||||
table= tables->table;
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
if (WSREP(thd) && !wsrep_should_replicate_ddl(thd, table->s->db_type()))
|
||||
/* Resolve should we replicate creation of the trigger.
|
||||
It should be replicated if storage engine(s) associated
|
||||
to trigger are replicated by Galera.
|
||||
*/
|
||||
if (WSREP(thd) &&
|
||||
!wsrep_should_replicate_ddl_iterate(thd, tables))
|
||||
goto end;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user