diff options
Diffstat (limited to 'sql/sql_reload.cc')
-rw-r--r-- | sql/sql_reload.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_reload.cc b/sql/sql_reload.cc index 6fc0e0024af..e6c8e0777b8 100644 --- a/sql/sql_reload.cc +++ b/sql/sql_reload.cc @@ -334,7 +334,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options, { DBUG_ASSERT(thd); tmp_write_to_binlog= 0; - if (reset_master(thd, NULL, 0)) + if (reset_master(thd, NULL, 0, thd->lex->next_binlog_file_number)) { /* NOTE: my_error() has been already called by reset_master(). */ result= 1; |