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

            anel Anel Husakovic created issue -
            anel Anel Husakovic made changes -
            Field Original Value New Value
            anel Anel Husakovic made changes -
            jplindst Jan Lindström (Inactive) made changes -
            Assignee Jan Lindström [ jplindst ]

            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.
            anel Anel Husakovic made changes -
            Assignee Jan Lindström [ jplindst ] Anel Husakovic [ anel ]

            Pushed with ad5b7b157b43a

            anel Anel Husakovic added a comment - Pushed with ad5b7b157b43a
            anel Anel Husakovic made changes -
            issue.field.resolutiondate 2019-11-29 06:06:15.0 2019-11-29 06:06:15.125
            anel Anel Husakovic made changes -
            Fix Version/s 10.4.11 [ 24013 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            abmusse A Musse made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 96801 ] MariaDB v4 [ 156216 ]

            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.