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

Issue with: sql/wsrep_mysqld.cc : ip_len

Details

    Description

      Line of sql/wsrep_mysqld.cc :

             size_t const ip_len= wsrep_host_len(node_addr.c_str(), node_addr.size());
      

      is preprocessed (gcc -E) as:

             size_t const
                         ip_ff.ip_vhltl.ip_x.ip_xlen
                               = wsrep_host_len(node_addr.c_str(), node_addr.size());
      

      where "ip_len" becomes: ip_ff.ip_vhltl.ip_x.ip_xlen , which is wrong and breaks.

      Attachments

        Issue Links

          Activity

            I do not have access to AIX to test this but I do not follow how size_t const ip_len can become size_t const ip_ff.ip_vhltl.ip_x.ip_xlen ? In my understanding with that definition ip_len should be size_t type.

            jplindst Jan Lindström (Inactive) added a comment - I do not have access to AIX to test this but I do not follow how size_t const ip_len can become size_t const ip_ff.ip_vhltl.ip_x.ip_xlen ? In my understanding with that definition ip_len should be size_t type.

            Pushed with ad5b7b157b43a

            anel Anel Husakovic added a comment - Pushed with ad5b7b157b43a

            People

              anel Anel Husakovic
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.