summaryrefslogtreecommitdiff
path: root/sql/sql_rename.cc
diff options
context:
space:
mode:
authormkaruza <mario.karuza@galeracluster.com>2020-12-08 10:07:45 +0100
committerJan Lindström <jan.lindstrom@mariadb.com>2021-01-26 14:02:24 +0200
commit95a2bca01f423dc97281709a7871f5901fd05c70 (patch)
tree2b7f71719e519ff17be630446ee6b9196f6cdfac /sql/sql_rename.cc
parent3f871b339429441ad907ecf7dfabdc414797e664 (diff)
downloadmariadb-git-95a2bca01f423dc97281709a7871f5901fd05c70.tar.gz
MDEV-20008: Galera strict modebb-10.6-MDEV-20008
Added new enum variable `wsrep_mode` which can be used to turn on WSREP features which are not part of default behaviour. Added enum `BINLOG_ROW_FORMAT_ONLY`, `REQUIRED_PRIMARY_KEY` and `STRICT_REPLICATION`. `wsrep-mode=STRICT_REPLICATION` behaves like variable `wsrep_strict_ddl`. Variable wsrep_strict_ddl is deprecated and if set we use new wsrep_mode setting instead. Reviewed and improved by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'sql/sql_rename.cc')
-rw-r--r--sql/sql_rename.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_rename.cc b/sql/sql_rename.cc
index 77a1e46a75a..b7aed97a8a2 100644
--- a/sql/sql_rename.cc
+++ b/sql/sql_rename.cc
@@ -325,7 +325,7 @@ do_rename(THD *thd, TABLE_LIST *ren_table, const LEX_CSTRING *new_db,
#ifdef WITH_WSREP
if (WSREP(thd) && hton && hton != view_pseudo_hton &&
- !wsrep_should_replicate_ddl(thd, hton->db_type))
+ !wsrep_should_replicate_ddl(thd, hton))
DBUG_RETURN(1);
#endif