[MDEV-6343] Incorrect error handling in mysqldump Created: 2014-06-16  Updated: 2014-06-22  Resolved: 2014-06-17

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.33a
Fix Version/s: 5.5.39

Type: Bug Priority: Major
Reporter: Kristian Nielsen Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None


 Description   

=== modified file 'client/mysqldump.c'
--- client/mysqldump.c	2014-05-09 10:35:11 +0000
+++ client/mysqldump.c	2014-06-16 08:07:16 +0000
@@ -1177,7 +1185,7 @@ check_consistent_binlog_pos(char *binlog
 
   if (mysql_query_with_error_report(mysql, &res,
                                     "SHOW STATUS LIKE 'binlog_snapshot_%'"))
-    return 1;
+    return 0;
 
   found= 0;
   while ((row= mysql_fetch_row(res)))



 Comments   
Comment by Kristian Nielsen [ 2014-06-17 ]

Pushed to 5.5.39

Generated at Thu Feb 08 07:11:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.