Commit 2bdeabe7 authored by Luis Soares's avatar Luis Soares

BUG 57288: automerged bzr bundle from bug report.

parents e05bfa68 b0094227
...@@ -3037,7 +3037,7 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd) ...@@ -3037,7 +3037,7 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd)
} }
/* Start logging with a new file */ /* Start logging with a new file */
close(LOG_CLOSE_INDEX); close(LOG_CLOSE_INDEX | LOG_CLOSE_TO_BE_OPENED);
if ((error= my_delete_allow_opened(index_file_name, MYF(0)))) // Reset (open will update) if ((error= my_delete_allow_opened(index_file_name, MYF(0)))) // Reset (open will update)
{ {
if (my_errno == ENOENT) if (my_errno == ENOENT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment