Commit 5b75891b authored by Kristian Nielsen's avatar Kristian Nielsen

Fix compile failure in non-debug build.

parent 8f21a316
...@@ -394,9 +394,6 @@ UNIV_INTERN mysql_pfs_key_t lock_sys_mutex_key; ...@@ -394,9 +394,6 @@ UNIV_INTERN mysql_pfs_key_t lock_sys_mutex_key;
UNIV_INTERN mysql_pfs_key_t lock_sys_wait_mutex_key; UNIV_INTERN mysql_pfs_key_t lock_sys_wait_mutex_key;
#endif /* UNIV_PFS_MUTEX */ #endif /* UNIV_PFS_MUTEX */
#ifdef UNIV_DEBUG
UNIV_INTERN ibool lock_print_waits = FALSE;
/* Buffer to collect THDs to report waits for. */ /* Buffer to collect THDs to report waits for. */
struct thd_wait_reports { struct thd_wait_reports {
struct thd_wait_reports *next; /*!< List link */ struct thd_wait_reports *next; /*!< List link */
...@@ -405,6 +402,9 @@ struct thd_wait_reports { ...@@ -405,6 +402,9 @@ struct thd_wait_reports {
}; };
#ifdef UNIV_DEBUG
UNIV_INTERN ibool lock_print_waits = FALSE;
/*********************************************************************//** /*********************************************************************//**
Validates the lock system. Validates the lock system.
@return TRUE if ok */ @return TRUE if ok */
......
...@@ -394,9 +394,6 @@ UNIV_INTERN mysql_pfs_key_t lock_sys_mutex_key; ...@@ -394,9 +394,6 @@ UNIV_INTERN mysql_pfs_key_t lock_sys_mutex_key;
UNIV_INTERN mysql_pfs_key_t lock_sys_wait_mutex_key; UNIV_INTERN mysql_pfs_key_t lock_sys_wait_mutex_key;
#endif /* UNIV_PFS_MUTEX */ #endif /* UNIV_PFS_MUTEX */
#ifdef UNIV_DEBUG
UNIV_INTERN ibool lock_print_waits = FALSE;
/* Buffer to collect THDs to report waits for. */ /* Buffer to collect THDs to report waits for. */
struct thd_wait_reports { struct thd_wait_reports {
struct thd_wait_reports *next; /*!< List link */ struct thd_wait_reports *next; /*!< List link */
...@@ -405,6 +402,9 @@ struct thd_wait_reports { ...@@ -405,6 +402,9 @@ struct thd_wait_reports {
}; };
#ifdef UNIV_DEBUG
UNIV_INTERN ibool lock_print_waits = FALSE;
/*********************************************************************//** /*********************************************************************//**
Validates the lock system. Validates the lock system.
@return TRUE if ok */ @return TRUE if ok */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment