[MDEV-5672] MariaDB 10.0.8 doesn't compile without perfschema Created: 2014-02-14  Updated: 2014-02-28  Resolved: 2014-02-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.8
Fix Version/s: 10.0.9

Type: Bug Priority: Major
Reporter: Pavel Ivanov Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: upstream

Issue Links:
Blocks
is blocked by MDEV-5727 10.0.9 merge Closed

 Description   

Compilation with -DWITH_PERFSCHEMA_STORAGE_ENGINE=OFF is impossible due to the error in xtradb: "undefined reference to `mutex_enter_nowait_func(ib_prio_mutex_t*, char const*, unsigned long)'".

There is a function that takes ib_mutex_t* as first argument, but there's no function that takes ib_prio_mutex_t* as first argument.



 Comments   
Comment by Sergey Vojtovich [ 2014-02-26 ]

Sergei, please review fix for this bug.

Comment by Laurynas Biveinis [ 2014-02-26 ]

This is https://bugs.launchpad.net/percona-server/+bug/1272747, our fix at https://code.launchpad.net/~laurynas-biveinis/percona-server/bug1272747/+merge/203318

Comment by Sergey Vojtovich [ 2014-02-26 ]

In Laurynas' fix this function is declared as inline, which I find very reasonable.
Sergei, should I apply Laurynas' fix or postpone this bug until we merge latest xtradb to 10.0?

Comment by Sergei Golubchik [ 2014-02-26 ]

Thanks laurynas!

svoj, let's postpone until the merge. I wanted to merge the latest 5.6 XtraDB anyway.

Comment by Sergei Golubchik [ 2014-02-27 ]

The merge didn't fix it, I'll cherry-pick the upstream patch.

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