summaryrefslogtreecommitdiff
path: root/innobase/btr/btr0sea.c
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-03-16 18:55:44 +0200
committerunknown <marko@hundin.mysql.fi>2004-03-16 18:55:44 +0200
commit7812cd87378a3d7c63bf45dfbc796ee4b61898ab (patch)
tree277f954070cd694be818e3ca8ca3f9f4da7ee578 /innobase/btr/btr0sea.c
parent8d2bb926fbe5431faf2ae768ecad6240954295fd (diff)
downloadmariadb-git-7812cd87378a3d7c63bf45dfbc796ee4b61898ab.tar.gz
InnoDB: Remove some debug variables unless UNIV_SEARCH_PERF_STAT is defined
innobase/btr/btr0sea.c: Remove variable btr_search_n_succ unless #ifdef UNIV_SEARCH_PERF_STAT innobase/include/btr0sea.h: Remove variable btr_search_n_succ unless #ifdef UNIV_SEARCH_PERF_STAT innobase/page/page0cur.c: Make page_rnd a static variable Remove variable page_cur_short_succ unless #ifdef UNIV_SEARCH_PERF_STAT innobase/include/page0cur.h: Remove variable page_cur_short_succ unless #ifdef UNIV_SEARCH_PERF_STAT
Diffstat (limited to 'innobase/btr/btr0sea.c')
-rw-r--r--innobase/btr/btr0sea.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/btr/btr0sea.c b/innobase/btr/btr0sea.c
index 9421ca48718..f629dea74de 100644
--- a/innobase/btr/btr0sea.c
+++ b/innobase/btr/btr0sea.c
@@ -22,7 +22,9 @@ Created 2/17/1996 Heikki Tuuri
ulint btr_search_this_is_zero = 0; /* A dummy variable to fool the
compiler */
+#ifdef UNIV_SEARCH_PERF_STAT
ulint btr_search_n_succ = 0;
+#endif /* UNIV_SEARCH_PERF_STAT */
ulint btr_search_n_hash_fail = 0;
byte btr_sea_pad1[64]; /* padding to prevent other memory update