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

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

    XMLWordPrintable

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

          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.