summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 389346e389d..6c16e5b6c46 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -4015,6 +4015,8 @@ bool mysql_show_binlog_events(THD* thd)
thd->current_linfo= &linfo;
+ DEBUG_SYNC(thd, "show_binlog_events_got_linfo");
+
if ((file=open_binlog(&log, linfo.log_file_name, &errmsg)) < 0)
goto err;