Skip to content
Permalink
Browse files
MDEV-28720 add log message if flush log failure
  • Loading branch information
dingweiqings authored and grooverdan committed Oct 19, 2022
1 parent 8c38939 commit 64d85c3
Showing 1 changed file with 5 additions and 0 deletions.
@@ -6874,7 +6874,12 @@ int main(int argc, char **argv)
if (flush_logs || opt_delete_master_logs)
{
if (mysql_refresh(mysql, REFRESH_LOG))
{
fprintf(stderr,
"Flush logs or delete master logs failure in server \n");
first_error= EX_MYSQLERR;
goto err;
}
verbose_msg("-- main : logs flushed successfully!\n");
}

0 comments on commit 64d85c3

Please sign in to comment.