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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0809ab7a
Commit
0809ab7a
authored
Nov 29, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
univ.i: Document the debug flags (UNIV_DEBUG et al).
parent
599565a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
include/univ.i
include/univ.i
+18
-12
No files found.
include/univ.i
View file @
0809ab7a
...
...
@@ -74,20 +74,26 @@ memory is read outside the allocated blocks. */
/* Make a non-inline debug version */
#
if
0
#
define
UNIV_DEBUG
#
define
UNIV_LIST_DEBUG
#
define
UNIV_MEM_DEBUG
#
define
UNIV_IBUF_DEBUG
#
define
UNIV_SYNC_DEBUG
#
define
UNIV_SEARCH_DEBUG
#
define
UNIV_SYNC_PERF_STAT
#
define
UNIV_SEARCH_PERF_STAT
#
define
UNIV_SRV_PRINT_LATCH_WAITS
#
define
UNIV_BTR_PRINT
#
define
UNIV_DEBUG
/* Enable ut_ad() assertions */
#
define
UNIV_LIST_DEBUG
/* debug UT_LIST_ macros */
#
define
UNIV_MEM_DEBUG
/* detect memory leaks etc */
#
define
UNIV_IBUF_DEBUG
/* debug the insert buffer;
this limits the database to IBUF_COUNT_N_SPACES and IBUF_COUNT_N_PAGES,
and the insert buffer must be empty when the database is started */
#
define
UNIV_SYNC_DEBUG
/* debug mutex and latch
operations (very slow); also UNIV_DEBUG must be defined */
#
define
UNIV_SEARCH_DEBUG
/* debug B-tree comparisons */
#
define
UNIV_SYNC_PERF_STAT
/* operation counts for
rw-locks and mutexes */
#
define
UNIV_SEARCH_PERF_STAT
/* statistics for the
adaptive hash index */
#
define
UNIV_SRV_PRINT_LATCH_WAITS
/* cf. sync0sync.c */
#
define
UNIV_BTR_PRINT
/* enable functions for
printing B-trees */
#
endif
#
define
UNIV_BTR_DEBUG
#
define
UNIV_LIGHT_MEM_DEBUG
#
define
UNIV_BTR_DEBUG
/* check B-tree links */
#
define
UNIV_LIGHT_MEM_DEBUG
/* light memory debugging */
#
ifdef
HAVE_purify
/* The following sets all new allocated memory to zero before use:
...
...
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