diff options
Diffstat (limited to 'storage')
-rw-r--r-- | storage/maria/maria_chk.c | 3 | ||||
-rw-r--r-- | storage/myisam/mi_extra.c | 2 | ||||
-rw-r--r-- | storage/myisam/myisamchk.c | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/storage/maria/maria_chk.c b/storage/maria/maria_chk.c index 27653ae5574..62225a7a4b0 100644 --- a/storage/maria/maria_chk.c +++ b/storage/maria/maria_chk.c @@ -21,9 +21,6 @@ #include <m_ctype.h> #include <stdarg.h> #include <my_getopt.h> -#ifdef HAVE_SYS_VADVICE_H -#include <sys/vadvise.h> -#endif #ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif diff --git a/storage/myisam/mi_extra.c b/storage/myisam/mi_extra.c index 92d7459dfc5..dab1f66ed6d 100644 --- a/storage/myisam/mi_extra.c +++ b/storage/myisam/mi_extra.c @@ -330,9 +330,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function, void *extra_arg) if (!share->temporary) flush_key_blocks(share->key_cache, share->kfile, &share->dirty_part_map, FLUSH_KEEP); -#ifdef HAVE_PWRITE _mi_decrement_open_count(info); -#endif if (share->not_flushed) { share->not_flushed=0; diff --git a/storage/myisam/myisamchk.c b/storage/myisam/myisamchk.c index fa8cc679997..7d8b577e8b0 100644 --- a/storage/myisam/myisamchk.c +++ b/storage/myisam/myisamchk.c @@ -20,9 +20,6 @@ #include <stdarg.h> #include <my_getopt.h> #include <my_bit.h> -#ifdef HAVE_SYS_VADVICE_H -#include <sys/vadvise.h> -#endif #ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif |