Commit 58030452 authored by Luis Soares's avatar Luis Soares

BUG 57288: automerged mysql-5.1-bugteam into mysql-5.5-bugteam.

parents a7ea019b cd8a9c78
......@@ -3308,7 +3308,7 @@ bool MYSQL_BIN_LOG::reset_logs(THD* thd)
}
/* 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 (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