diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-11-01 08:50:28 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-11-01 08:50:28 +0200 |
commit | e0421b7cc8969edefca25c9a47e24f7e77c4bdf6 (patch) | |
tree | 06d5d5b0cd34606fdcb3baec700d5ee6f4c8e493 /client | |
parent | 4730c0a495a8bbb3f95c88461de15bf69baec8dc (diff) | |
parent | 6449af6f2d52c7acb483fcfb186c838edaf0424a (diff) | |
download | mariadb-git-e0421b7cc8969edefca25c9a47e24f7e77c4bdf6.tar.gz |
Merge 10.7 into 10.8
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 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"); } |