summaryrefslogtreecommitdiff
path: root/storage/innobase/include/btr0types.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/btr0types.h')
-rw-r--r--storage/innobase/include/btr0types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/include/btr0types.h b/storage/innobase/include/btr0types.h
index 62b7868b419..09f97b3cabd 100644
--- a/storage/innobase/include/btr0types.h
+++ b/storage/innobase/include/btr0types.h
@@ -39,6 +39,8 @@ typedef struct btr_cur_struct btr_cur_t;
/** B-tree search information for the adaptive hash index */
typedef struct btr_search_struct btr_search_t;
+#ifndef UNIV_HOTBACKUP
+
/** @brief The latch protecting the adaptive search system
This latch protects the
@@ -54,6 +56,8 @@ Bear in mind (3) and (4) when using the hash index.
*/
extern rw_lock_t* btr_search_latch_temp;
+#endif /* UNIV_HOTBACKUP */
+
/** The latch protecting the adaptive search system */
#define btr_search_latch (*btr_search_latch_temp)