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

tautological compare in filesort_utils.h while compiling MariaDB 10.0.9

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.0.9
    • 10.0.10
    • None
    • None

    Description

      While compiling mariadb 10.0.9 on Mac OSX, I found this:

      build/mariadb-10.0.9/sql/filesort_utils.h:98:29: warning: self-comparison always evaluates to true [-Wtautological-compare]
                  m_record_length == m_record_length);
                                  ^

      Attachments

        Issue Links

          Activity

            datacharmer Giuseppe Maxia created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Description While compiling mariadb 10.0.9 on Mac OSX, I found this:

            build/mariadb-10.0.9/sql/filesort_utils.h:98:29: warning: self-comparison always evaluates to true [-Wtautological-compare]
                        m_record_length == m_record_length);
                                        ^

            While compiling mariadb 10.0.9 on Mac OSX, I found this:
            {noformat}
            build/mariadb-10.0.9/sql/filesort_utils.h:98:29: warning: self-comparison always evaluates to true [-Wtautological-compare]
                        m_record_length == m_record_length);
                                        ^
            {noformat}
            serg Sergei Golubchik made changes -

            Thanks, datacharmer, this was fixed in 10.0.10 in MDEV-5173

            serg Sergei Golubchik added a comment - Thanks, datacharmer , this was fixed in 10.0.10 in MDEV-5173
            serg Sergei Golubchik made changes -
            Fix Version/s 10.0.10 [ 14500 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow defaullt [ 37705 ] MariaDB v2 [ 43191 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 43191 ] MariaDB v3 [ 62262 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 62262 ] MariaDB v4 [ 147708 ]

            People

              Unassigned Unassigned
              datacharmer Giuseppe Maxia
              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.