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

mysys/mf_iocache.c doesn't compile on Solaris 11.4 Beta

Details

    Description

      When trying to compile MariaDB 10.2.12 on Solaris 11.4 Beta, compilation failed in
      mysys/mf_iocache.c:

      /vol/src/mariadb/mariadb-10.2.12/mysys/mf_iocache.c: In function '_my_b_async_read':
      /vol/src/mariadb/mariadb-10.2.12/mysys/mf_iocache.c:1588:24: error: 'IO_CACHE {aka struct st_io_cache}' has no member named 'rc_pos'
           info->read_end=info->rc_pos+read_length;
                              ^
      

      While that member is still called rc_pos in libmariadb/include/ma_sys.h, it's called
      read_pos in include/my_sys.h.

      The attached trivial patch allowed the compilation to continue.

      Attachments

        Activity

          gfischer gfischer added a comment -

          confirming that with 10.2.13 on solaris 11.2. neither sunpro nor gcc let that slide and the patch works.

          gfischer gfischer added a comment - confirming that with 10.2.13 on solaris 11.2. neither sunpro nor gcc let that slide and the patch works.
          danblack Daniel Black added a comment -

          bb-10.2-danielblack-MDEV-15064-IO_CACHE-read_pos in build bot

          danblack Daniel Black added a comment - bb-10.2-danielblack- MDEV-15064 -IO_CACHE-read_pos in build bot
          danblack Daniel Black added a comment -

          sorry for the delay.

          danblack Daniel Black added a comment - sorry for the delay.

          People

            danblack Daniel Black
            ro Rainer Orth
            Votes:
            1 Vote for this issue
            Watchers:
            5 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.