[MDEV-11057] InnoDB fails to compile with performance schema disabled Created: 2016-10-14  Updated: 2016-12-13  Resolved: 2016-12-13

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.2.2
Fix Version/s: 10.2.3

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: 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));
   ^


Generated at Thu Feb 08 07:46:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.