diff options
author | marko@hundin.mysql.fi <> | 2004-06-02 11:12:04 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-06-02 11:12:04 +0300 |
commit | 82475cfb766675d2ddef2e10ac1790c4a603b125 (patch) | |
tree | 40ea6b623d7431fa256ff4882797abbf0c99ec18 /innobase | |
parent | 3b313f14f2986cc6069ab55ad9123afe73ba821e (diff) | |
download | mariadb-git-82475cfb766675d2ddef2e10ac1790c4a603b125.tar.gz |
InnoDB cleanup: Remove debug function
cmp_debug_dtuple_rec_with_match()
unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/rem/rem0cmp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/innobase/rem/rem0cmp.c b/innobase/rem/rem0cmp.c index dea2621faf3..5dae9f7bc74 100644 --- a/innobase/rem/rem0cmp.c +++ b/innobase/rem/rem0cmp.c @@ -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 has more fields than the other. */ +#ifdef UNIV_DEBUG /***************************************************************** Used in debug checking of cmp_dtuple_... . 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 differ from dtuple in some of the m fields rec has. */ - +static int cmp_debug_dtuple_rec_with_match( /*============================*/ @@ -54,6 +55,7 @@ cmp_debug_dtuple_rec_with_match( completely matched fields; when function returns, contains the value for current comparison */ +#endif /* UNIV_DEBUG */ /***************************************************************** 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 @@ -946,13 +948,14 @@ order_resolved: return(ret); } +#ifdef UNIV_DEBUG /***************************************************************** Used in debug checking of cmp_dtuple_... . 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 differ from dtuple in some of the m fields rec has. If encounters an externally stored field, returns 0. */ - +static int cmp_debug_dtuple_rec_with_match( /*============================*/ @@ -1048,3 +1051,4 @@ order_resolved: return(ret); } +#endif /* UNIV_DEBUG */ |