1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

cleanup, less #ifdef's

This commit is contained in:
Sergei Golubchik
2020-06-14 11:46:37 +02:00
parent 7d75e43261
commit d2b852b4ca
7 changed files with 8 additions and 10 deletions

View File

@ -215,6 +215,8 @@ static void init_example_psi_keys()
count= array_elements(all_example_mutexes);
mysql_mutex_register(category, all_example_mutexes, count);
}
#else
static void init_example_psi_keys() { }
#endif
@ -252,9 +254,7 @@ static int example_init_func(void *p)
{
DBUG_ENTER("example_init_func");
#ifdef HAVE_PSI_INTERFACE
init_example_psi_keys();
#endif
example_hton= (handlerton *)p;
example_hton->create= example_create_handler;