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
40516ad8
Commit
40516ad8
authored
Jun 13, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Remove unreferenced debug functions from non-debug builds.
parent
3cbaf365
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
8 deletions
+16
-8
innobase/buf/buf0buf.c
innobase/buf/buf0buf.c
+2
-0
innobase/buf/buf0lru.c
innobase/buf/buf0lru.c
+3
-1
innobase/include/buf0buf.h
innobase/include/buf0buf.h
+8
-6
innobase/include/buf0lru.h
innobase/include/buf0lru.h
+2
-0
innobase/include/rem0rec.h
innobase/include/rem0rec.h
+1
-1
No files found.
innobase/buf/buf0buf.c
View file @
40516ad8
...
...
@@ -1947,6 +1947,7 @@ buf_pool_invalidate(void)
mutex_exit
(
&
(
buf_pool
->
mutex
));
}
#ifdef UNIV_DEBUG
/*************************************************************************
Validates the buffer buf_pool data structure. */
...
...
@@ -2146,6 +2147,7 @@ buf_print(void)
ut_a
(
buf_validate
());
}
#endif
/* UNIV_DEBUG */
/*************************************************************************
Returns the number of latched pages in the buffer pool. */
...
...
innobase/buf/buf0lru.c
View file @
40516ad8
...
...
@@ -919,7 +919,8 @@ buf_LRU_block_free_hashed_page(
buf_LRU_block_free_non_file_page
(
block
);
}
#ifdef UNIV_DEBUG
/**************************************************************************
Validates the LRU list. */
...
...
@@ -1050,3 +1051,4 @@ buf_LRU_print(void)
mutex_exit
(
&
(
buf_pool
->
mutex
));
}
#endif
/* UNIV_DEBUG */
innobase/include/buf0buf.h
View file @
40516ad8
...
...
@@ -480,12 +480,20 @@ buf_pool_is_block(
/*==============*/
/* out: TRUE if pointer to block */
void
*
ptr
);
/* in: pointer to memory */
#ifdef UNIV_DEBUG
/*************************************************************************
Validates the buffer pool data structure. */
ibool
buf_validate
(
void
);
/*==============*/
/*************************************************************************
Prints info of the buffer pool data structure. */
void
buf_print
(
void
);
/*============*/
#endif
/* UNIV_DEBUG */
/************************************************************************
Prints a page to stderr. */
...
...
@@ -494,12 +502,6 @@ buf_page_print(
/*===========*/
byte
*
read_buf
);
/* in: a database page */
/*************************************************************************
Prints info of the buffer pool data structure. */
void
buf_print
(
void
);
/*============*/
/*************************************************************************
Returns the number of latched pages in the buffer pool. */
ulint
...
...
innobase/include/buf0lru.h
View file @
40516ad8
...
...
@@ -122,6 +122,7 @@ void
buf_LRU_make_block_old
(
/*===================*/
buf_block_t
*
block
);
/* in: control block */
#ifdef UNIV_DEBUG
/**************************************************************************
Validates the LRU list. */
...
...
@@ -134,6 +135,7 @@ Prints the LRU list. */
void
buf_LRU_print
(
void
);
/*===============*/
#endif
/* UNIV_DEBUG */
#ifndef UNIV_NONINL
#include "buf0lru.ic"
...
...
innobase/include/rem0rec.h
View file @
40516ad8
...
...
@@ -300,7 +300,7 @@ UNIV_INLINE
ulint
rec_offs_comp
(
/*==========*/
/* out:
TRUE
if compact format */
/* out:
nonzero
if compact format */
const
ulint
*
offsets
);
/* in: array returned by rec_get_offsets() */
/**********************************************************
Returns nonzero if the extern bit is set in nth field of rec. */
...
...
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