diff options
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. */ |