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

REFRESH_CHECKPOINT and REFRESH_TABLE_STATS tokens share the same value

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.0, 5.5.28
    • 10.0.1, 5.5.29
    • None
    • None

    Description

      As can be seen at http://bazaar.launchpad.net/~maria-captains/maria/10.0/annotate/head:/include/mysql_com.h#L159

      in paricular:

      #define REFRESH_CHECKPOINT	0x100000L
      #define REFRESH_TABLE_STATS     (1L << 20)

      two constants got the same value (presumably during a merge). This makes mysqld confuse these options when processing the FLUSH command.

      Incrementing shifts for REFRESH_TABLE_STATS and following constants seems to solve the issue.

      I'm not sure about how to use bzr correctly, by my suggested patch with a test case is at https://code.launchpad.net/~varavv/maria/maria-fix-conflicting-refresh-opts and in attachment.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            yvaravva Ievgen Varavva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.