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

This commit is contained in:
Luis Soares 2010-11-30 18:17:06 +00:00
commit 8a214b8e1d

View File

@ -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)