summaryrefslogtreecommitdiff
path: root/sql/sql_rename.cc
diff options
context:
space:
mode:
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