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

tautological compare in filesort_utils.h while compiling MariaDB 10.0.9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.0.9
    • Fix Version/s: 10.0.10
    • Component/s: None
    • Labels:
      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

              People

              • Assignee:
                Unassigned
                Reporter:
                datacharmer Giuseppe Maxia
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: