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
e803e137
Commit
e803e137
authored
Nov 16, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Make ibuf_validate_low() static and enclose in #ifdef UNIV_DEBUG.
parent
03bdaaf5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
ibuf/ibuf0ibuf.c
ibuf/ibuf0ibuf.c
+8
-6
No files found.
ibuf/ibuf0ibuf.c
View file @
e803e137
...
...
@@ -209,14 +209,15 @@ because ibuf merge is done to a page when it is read in, and it is
still physically like the index page even if the index would have been
dropped! So, there seems to be no problem. */
#ifdef UNIV_DEBUG
/**********************************************************************
Validates the ibuf data structures when the caller owns ibuf_mutex. */
static
ibool
ibuf_validate_low
(
void
);
/*===================*/
/* out: TRUE if ok */
#endif
/* UNIV_DEBUG */
/**********************************************************************
Sets the flag in the current OS thread local storage denoting that it is
inside an insert buffer routine. */
...
...
@@ -3535,10 +3536,10 @@ leave_loop:
mem_heap_free
(
heap
);
}
#ifdef UNIV_DEBUG
/**********************************************************************
Validates the ibuf data structures when the caller owns ibuf_mutex. */
static
ibool
ibuf_validate_low
(
void
)
/*===================*/
...
...
@@ -3547,9 +3548,9 @@ ibuf_validate_low(void)
ibuf_data_t
*
data
;
ulint
sum_sizes
;
#ifdef UNIV_SYNC_DEBUG
#
ifdef UNIV_SYNC_DEBUG
ut_ad
(
mutex_own
(
&
ibuf_mutex
));
#endif
/* UNIV_SYNC_DEBUG */
#
endif
/* UNIV_SYNC_DEBUG */
sum_sizes
=
0
;
...
...
@@ -3565,6 +3566,7 @@ ibuf_validate_low(void)
return
(
TRUE
);
}
#endif
/* UNIV_DEBUG */
/**********************************************************************
Looks if the insert buffer is empty. */
...
...
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