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
82475cfb
Commit
82475cfb
authored
Jun 02, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB cleanup: Remove debug function
cmp_debug_dtuple_rec_with_match() unless #ifdef UNIV_DEBUG
parent
3b313f14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
innobase/rem/rem0cmp.c
innobase/rem/rem0cmp.c
+6
-2
No files found.
innobase/rem/rem0cmp.c
View file @
82475cfb
...
@@ -33,12 +33,13 @@ At the present, the comparison functions return 0 in the case,
...
@@ -33,12 +33,13 @@ At the present, the comparison functions return 0 in the case,
where two records disagree only in the way that one
where two records disagree only in the way that one
has more fields than the other. */
has more fields than the other. */
#ifdef UNIV_DEBUG
/*****************************************************************
/*****************************************************************
Used in debug checking of cmp_dtuple_... .
Used in debug checking of cmp_dtuple_... .
This function is used to compare a data tuple to a physical record. If
This function is used to compare a data tuple to a physical record. If
dtuple has n fields then rec must have either m >= n fields, or it must
dtuple has n fields then rec must have either m >= n fields, or it must
differ from dtuple in some of the m fields rec has. */
differ from dtuple in some of the m fields rec has. */
static
int
int
cmp_debug_dtuple_rec_with_match
(
cmp_debug_dtuple_rec_with_match
(
/*============================*/
/*============================*/
...
@@ -54,6 +55,7 @@ cmp_debug_dtuple_rec_with_match(
...
@@ -54,6 +55,7 @@ cmp_debug_dtuple_rec_with_match(
completely matched fields; when function
completely matched fields; when function
returns, contains the value for current
returns, contains the value for current
comparison */
comparison */
#endif
/* UNIV_DEBUG */
/*****************************************************************
/*****************************************************************
This function is used to compare two data fields for which the data type
This function is used to compare two data fields for which the data type
is such that we must use MySQL code to compare them. The prototype here
is such that we must use MySQL code to compare them. The prototype here
...
@@ -946,13 +948,14 @@ cmp_rec_rec_with_match(
...
@@ -946,13 +948,14 @@ cmp_rec_rec_with_match(
return
(
ret
);
return
(
ret
);
}
}
#ifdef UNIV_DEBUG
/*****************************************************************
/*****************************************************************
Used in debug checking of cmp_dtuple_... .
Used in debug checking of cmp_dtuple_... .
This function is used to compare a data tuple to a physical record. If
This function is used to compare a data tuple to a physical record. If
dtuple has n fields then rec must have either m >= n fields, or it must
dtuple has n fields then rec must have either m >= n fields, or it must
differ from dtuple in some of the m fields rec has. If encounters an
differ from dtuple in some of the m fields rec has. If encounters an
externally stored field, returns 0. */
externally stored field, returns 0. */
static
int
int
cmp_debug_dtuple_rec_with_match
(
cmp_debug_dtuple_rec_with_match
(
/*============================*/
/*============================*/
...
@@ -1048,3 +1051,4 @@ cmp_debug_dtuple_rec_with_match(
...
@@ -1048,3 +1051,4 @@ cmp_debug_dtuple_rec_with_match(
return
(
ret
);
return
(
ret
);
}
}
#endif
/* UNIV_DEBUG */
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