summaryrefslogtreecommitdiff
path: root/storage/innobase/lock
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2014-07-10 14:24:53 +0200
committerKristian Nielsen <knielsen@knielsen-hq.org>2014-07-10 14:24:53 +0200
commit5b75891b7b2d2803d93115f244f00d91c12b79d6 (patch)
tree7f620a3daa151d63f503cbbd4bdc127c5fab9522 /storage/innobase/lock
parent8f21a3166908d71b5828d50bfce65b480508c6c1 (diff)
downloadmariadb-git-5b75891b7b2d2803d93115f244f00d91c12b79d6.tar.gz
Fix compile failure in non-debug build.
Diffstat (limited to 'storage/innobase/lock')
-rw-r--r--storage/innobase/lock/lock0lock.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/lock/lock0lock.cc b/storage/innobase/lock/lock0lock.cc
index 786da144a48..74e00def11f 100644
--- a/storage/innobase/lock/lock0lock.cc
+++ b/storage/innobase/lock/lock0lock.cc
@@ -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;
#endif /* UNIV_PFS_MUTEX */
-#ifdef UNIV_DEBUG
-UNIV_INTERN ibool lock_print_waits = FALSE;
-
/* Buffer to collect THDs to report waits for. */
struct thd_wait_reports {
struct thd_wait_reports *next; /*!< List link */
@@ -405,6 +402,9 @@ struct thd_wait_reports {
};
+#ifdef UNIV_DEBUG
+UNIV_INTERN ibool lock_print_waits = FALSE;
+
/*********************************************************************//**
Validates the lock system.
@return TRUE if ok */