diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index 620ce211691..7a77245f520 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -7027,7 +7027,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"); } |