Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e39030c0
Commit
e39030c0
authored
Mar 16, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Remove some debug variables unless UNIV_SEARCH_PERF_STAT is defined
parent
20b6863c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
innobase/btr/btr0sea.c
innobase/btr/btr0sea.c
+2
-0
innobase/include/btr0sea.h
innobase/include/btr0sea.h
+2
-0
innobase/include/page0cur.h
innobase/include/page0cur.h
+4
-1
innobase/page/page0cur.c
innobase/page/page0cur.c
+4
-3
No files found.
innobase/btr/btr0sea.c
View file @
e39030c0
...
@@ -22,7 +22,9 @@ Created 2/17/1996 Heikki Tuuri
...
@@ -22,7 +22,9 @@ Created 2/17/1996 Heikki Tuuri
ulint
btr_search_this_is_zero
=
0
;
/* A dummy variable to fool the
ulint
btr_search_this_is_zero
=
0
;
/* A dummy variable to fool the
compiler */
compiler */
#ifdef UNIV_SEARCH_PERF_STAT
ulint
btr_search_n_succ
=
0
;
ulint
btr_search_n_succ
=
0
;
#endif
/* UNIV_SEARCH_PERF_STAT */
ulint
btr_search_n_hash_fail
=
0
;
ulint
btr_search_n_hash_fail
=
0
;
byte
btr_sea_pad1
[
64
];
/* padding to prevent other memory update
byte
btr_sea_pad1
[
64
];
/* padding to prevent other memory update
...
...
innobase/include/btr0sea.h
View file @
e39030c0
...
@@ -214,7 +214,9 @@ extern rw_lock_t* btr_search_latch_temp;
...
@@ -214,7 +214,9 @@ extern rw_lock_t* btr_search_latch_temp;
#define btr_search_latch (*btr_search_latch_temp)
#define btr_search_latch (*btr_search_latch_temp)
#ifdef UNIV_SEARCH_PERF_STAT
extern
ulint
btr_search_n_succ
;
extern
ulint
btr_search_n_succ
;
#endif
/* UNIV_SEARCH_PERF_STAT */
extern
ulint
btr_search_n_hash_fail
;
extern
ulint
btr_search_n_hash_fail
;
/* After change in n_fields or n_bytes in info, this many rounds are waited
/* After change in n_fields or n_bytes in info, this many rounds are waited
...
...
innobase/include/page0cur.h
View file @
e39030c0
...
@@ -32,8 +32,11 @@ Created 10/4/1994 Heikki Tuuri
...
@@ -32,8 +32,11 @@ Created 10/4/1994 Heikki Tuuri
which extend it */
which extend it */
#define PAGE_CUR_DBG 6
#define PAGE_CUR_DBG 6
#ifdef PAGE_CUR_ADAPT
# ifdef UNIV_SEARCH_PERF_STAT
extern
ulint
page_cur_short_succ
;
extern
ulint
page_cur_short_succ
;
# endif
/* UNIV_SEARCH_PERF_STAT */
#endif
/* PAGE_CUR_ADAPT */
/*************************************************************
/*************************************************************
Gets pointer to the page frame where the cursor is positioned. */
Gets pointer to the page frame where the cursor is positioned. */
...
...
innobase/page/page0cur.c
View file @
e39030c0
...
@@ -16,11 +16,12 @@ Created 10/4/1994 Heikki Tuuri
...
@@ -16,11 +16,12 @@ Created 10/4/1994 Heikki Tuuri
#include "log0recv.h"
#include "log0recv.h"
#include "rem0cmp.h"
#include "rem0cmp.h"
ulint
page_cur_short_succ
=
0
;
static
ulint
page_rnd
=
976722341
;
ulint
page_rnd
=
976722341
;
#ifdef PAGE_CUR_ADAPT
#ifdef PAGE_CUR_ADAPT
# ifdef UNIV_SEARCH_PERF_STAT
ulint
page_cur_short_succ
=
0
;
# endif
/* UNIV_SEARCH_PERF_STAT */
/********************************************************************
/********************************************************************
Tries a search shortcut based on the last insert. */
Tries a search shortcut based on the last insert. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment