summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-11-01 08:50:28 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-11-01 08:50:28 +0200
commite0421b7cc8969edefca25c9a47e24f7e77c4bdf6 (patch)
tree06d5d5b0cd34606fdcb3baec700d5ee6f4c8e493 /client
parent4730c0a495a8bbb3f95c88461de15bf69baec8dc (diff)
parent6449af6f2d52c7acb483fcfb186c838edaf0424a (diff)
downloadmariadb-git-e0421b7cc8969edefca25c9a47e24f7e77c4bdf6.tar.gz
Merge 10.7 into 10.8
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index f22d0421e04..1e71ef7dc63 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -7074,7 +7074,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");
}