Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6343

Incorrect error handling in mysqldump

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.33a
    • Fix Version/s: 5.5.39
    • Component/s: None
    • 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)))

        Attachments

          Activity

            People

            • Assignee:
              knielsen Kristian Nielsen
              Reporter:
              knielsen Kristian Nielsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: