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
018a9efa
Commit
018a9efa
authored
Aug 26, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: UNIV_DEBUG_LOCK_VALIDATE: Move the definition to univ.i.
parent
1fc7553e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/univ.i
include/univ.i
+3
-0
lock/lock0lock.c
lock/lock0lock.c
+0
-3
No files found.
include/univ.i
View file @
018a9efa
...
@@ -196,6 +196,9 @@ command. Not tested on Windows. */
...
@@ -196,6 +196,9 @@ command. Not tested on Windows. */
debugging without UNIV_DEBUG */
debugging without UNIV_DEBUG */
#
define
UNIV_DEBUG
/* Enable ut_ad() assertions
#
define
UNIV_DEBUG
/* Enable ut_ad() assertions
and disable UNIV_INLINE */
and disable UNIV_INLINE */
#
define
UNIV_DEBUG_LOCK_VALIDATE
/* Enable
ut_ad(lock_rec_validate_page())
assertions. */
#
define
UNIV_DEBUG_FILE_ACCESSES
/* Debug .ibd file access
#
define
UNIV_DEBUG_FILE_ACCESSES
/* Debug .ibd file access
(field file_page_was_freed
(field file_page_was_freed
in buf_page_t) */
in buf_page_t) */
...
...
lock/lock0lock.c
View file @
018a9efa
...
@@ -363,9 +363,6 @@ lock_rec_validate_page(
...
@@ -363,9 +363,6 @@ lock_rec_validate_page(
ulint
zip_size
,
/*!< in: compressed page size in bytes
ulint
zip_size
,
/*!< in: compressed page size in bytes
or 0 for uncompressed pages */
or 0 for uncompressed pages */
ulint
page_no
);
/*!< in: page number */
ulint
page_no
);
/*!< in: page number */
/* Define the following in order to enable lock_rec_validate_page() checks. */
# undef UNIV_DEBUG_LOCK_VALIDATE
#endif
/* UNIV_DEBUG */
#endif
/* UNIV_DEBUG */
/* The lock system */
/* The lock system */
...
...
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