diff options
author | marko@hundin.mysql.fi <> | 2004-04-07 14:19:26 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-04-07 14:19:26 +0300 |
commit | 253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f (patch) | |
tree | 2f1cb9f7307ff2cede7e13d739760692e11dcaaf /innobase/include/sync0rw.h | |
parent | 44a6fcba2f357b3f74bde8673046b310ecfd6645 (diff) | |
download | mariadb-git-253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f.tar.gz |
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/include/sync0rw.h')
-rw-r--r-- | innobase/include/sync0rw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/include/sync0rw.h b/innobase/include/sync0rw.h index d71691b4353..82123a529a3 100644 --- a/innobase/include/sync0rw.h +++ b/innobase/include/sync0rw.h @@ -85,6 +85,7 @@ void rw_lock_free( /*=========*/ rw_lock_t* lock); /* in: rw-lock */ +#ifdef UNIV_DEBUG /********************************************************************** Checks that the rw-lock has been initialized and that there are no simultaneous shared and exclusive locks. */ @@ -93,6 +94,7 @@ ibool rw_lock_validate( /*=============*/ rw_lock_t* lock); +#endif /* UNIV_DEBUG */ /****************************************************************** NOTE! The following macros should be used in rw s-locking, not the corresponding function. */ |