summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r--sql/sql_trigger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc
index 9417ec667ff..f93fe196728 100644
--- a/sql/sql_trigger.cc
+++ b/sql/sql_trigger.cc
@@ -551,7 +551,7 @@ bool mysql_create_or_drop_trigger(THD *thd, TABLE_LIST *tables, bool create)
#ifdef WITH_WSREP
if (WSREP(thd) &&
- !wsrep_should_replicate_ddl(thd, table->s->db_type()->db_type))
+ !wsrep_should_replicate_ddl(thd, table->s->db_type()))
goto wsrep_error_label;
#endif