Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.2
-
None
Description
cmake -DBUILD_CONFIG=mysql_release -DPLUGIN_PERFSCHEMA=NO && make
Gives many errors like this:
In file included from /home/svoj/devel/maria/mariadb/storage/innobase/include/mtr0types.h:30:0,
|
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/mach0data.h:33,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/ut0mem.ic:27,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/ut0mem.h:176,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/mem0mem.h:30,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/dyn0buf.h:31,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/log0log.h:37,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/fsp0file.h:30,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/fsp0space.h:30,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/include/fsp0sysspace.h:30,
|
from /home/svoj/devel/maria/mariadb/storage/innobase/fsp/fsp0sysspace.cc:29:
|
/home/svoj/devel/maria/mariadb/storage/innobase/include/dict0dict.ic: In function ‘void dict_table_x_lock_indexes(dict_table_t*)’:
|
/home/svoj/devel/maria/mariadb/storage/innobase/include/sync0rw.h:195:48: error: cannot convert ‘pthread_rwlock_t*’ to ‘rw_lock_t*’ for argument ‘1’ to ‘void rw_lock_x_lock_func(rw_lock_t*, ulint, const char*, ulint)’
|
rw_lock_x_lock_func((M), 0, __FILE__, __LINE__)
|
^
|
/home/svoj/devel/maria/mariadb/storage/innobase/include/dict0dict.ic:1231:3: note: in expansion of macro ‘rw_lock_x_lock’
|
rw_lock_x_lock(dict_index_get_lock(index));
|
^
|
/home/svoj/devel/maria/mariadb/storage/innobase/include/dict0dict.ic: In function ‘void dict_table_x_unlock_indexes(dict_table_t*)’:
|
/home/svoj/devel/maria/mariadb/storage/innobase/include/sync0rw.h:212:61: error: cannot convert ‘pthread_rwlock_t*’ to ‘rw_lock_t*’ for argument ‘1’ to ‘void rw_lock_x_unlock_func(rw_lock_t*)’
|
# define rw_lock_x_unlock_gen(L, P) rw_lock_x_unlock_func(L)
|
^
|
/home/svoj/devel/maria/mariadb/storage/innobase/include/sync0rw.h:296:30: note: in expansion of macro ‘rw_lock_x_unlock_gen’
|
#define rw_lock_x_unlock(L) rw_lock_x_unlock_gen(L, 0)
|
^
|
/home/svoj/devel/maria/mariadb/storage/innobase/include/dict0dict.ic:1251:3: note: in expansion of macro ‘rw_lock_x_unlock’
|
rw_lock_x_unlock(dict_index_get_lock(index));
|
^
|