Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.12
-
Solaris 11.4 Beta using the bundled gcc 5.5
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.