mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-19353 : Alter Sequence do not replicate to another nodes with in Galera Cluster
Galera replication of new DDL-case was missing
This commit is contained in:
@ -908,6 +908,13 @@ bool Sql_cmd_alter_sequence::execute(THD *thd)
|
||||
if (check_grant(thd, ALTER_ACL, first_table, FALSE, 1, FALSE))
|
||||
DBUG_RETURN(TRUE); /* purecov: inspected */
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
if (WSREP_ON && WSREP(thd) &&
|
||||
wsrep_to_isolation_begin(thd, first_table->db.str,
|
||||
first_table->table_name.str,
|
||||
first_table))
|
||||
DBUG_RETURN(TRUE);
|
||||
#endif /* WITH_WSREP */
|
||||
if (if_exists())
|
||||
thd->push_internal_handler(&no_such_table_handler);
|
||||
error= open_and_lock_tables(thd, first_table, FALSE, 0);
|
||||
|
Reference in New Issue
Block a user