summaryrefslogtreecommitdiff
path: root/sql/wsrep_applier.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/wsrep_applier.cc')
-rw-r--r--sql/wsrep_applier.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/wsrep_applier.cc b/sql/wsrep_applier.cc
index 426789b4d38..b9c259f7b5e 100644
--- a/sql/wsrep_applier.cc
+++ b/sql/wsrep_applier.cc
@@ -73,6 +73,9 @@ Format_description_log_event* wsrep_get_apply_format(THD* thd)
{
return (Format_description_log_event*) thd->wsrep_apply_format;
}
+
+ DBUG_ASSERT(thd->wsrep_rgi);
+
return thd->wsrep_rgi->rli->relay_log.description_event_for_exec;
}