diff options
author | unknown <marko@hundin.mysql.fi> | 2005-06-10 14:00:53 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-06-10 14:00:53 +0300 |
commit | 2ebdd2d90a512812f366732e32dc4d42c323e004 (patch) | |
tree | e7c3ee9f5f0e5a36106b5e3b79fdcfaa1cb6170c /innobase/include | |
parent | 5900f0cd5cae72f5480697ac83601cd9115fae7e (diff) | |
download | mariadb-git-2ebdd2d90a512812f366732e32dc4d42c323e004.tar.gz |
InnoDB: minor clean-up in os0file
innobase/include/os0file.h:
Remove unused function os_aio_all_slots_free() from non-debug builds.
innobase/os/os0file.c:
Remove unused function os_aio_all_slots_free() from non-debug builds.
Add static qualifiers to module-global variables.
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/os0file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/innobase/include/os0file.h b/innobase/include/os0file.h index f55c345537e..729ad81da9c 100644 --- a/innobase/include/os0file.h +++ b/innobase/include/os0file.h @@ -688,6 +688,8 @@ Refreshes the statistics used to print per-second averages. */ void os_aio_refresh_stats(void); /*======================*/ + +#ifdef UNIV_DEBUG /************************************************************************** Checks that all slots in the system have been freed, that is, there are no pending io operations. */ @@ -695,6 +697,7 @@ no pending io operations. */ ibool os_aio_all_slots_free(void); /*=======================*/ +#endif /* UNIV_DEBUG */ /*********************************************************************** This function returns information about the specified file */ |