summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2011-04-13 16:05:26 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2011-04-13 16:05:26 -0300
commit8aadfb40655bec8e4e861e92c031a4216edddb5e (patch)
treeb4caa0a40b52840b8390b3bb71d1fc50f1cd14bc /mysys/my_init.c
parent8b22d8c2ecb77336427eadb957669a3f0ef89513 (diff)
downloadmariadb-git-8aadfb40655bec8e4e861e92c031a4216edddb5e.tar.gz
Remove some leftovers from the removal of the gethostbyname wrappers.
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r--mysys/my_init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c
index 4963ce9b577..4056464b6fb 100644
--- a/mysys/my_init.c
+++ b/mysys/my_init.c
@@ -467,10 +467,6 @@ PSI_mutex_key key_my_file_info_mutex;
PSI_mutex_key key_LOCK_localtime_r;
#endif /* !defined(HAVE_LOCALTIME_R) || !defined(HAVE_GMTIME_R) */
-#ifndef HAVE_GETHOSTBYNAME_R
-PSI_mutex_key key_LOCK_gethostbyname_r;
-#endif /* HAVE_GETHOSTBYNAME_R */
-
PSI_mutex_key key_BITMAP_mutex, key_IO_CACHE_append_buffer_lock,
key_IO_CACHE_SHARE_mutex, key_KEY_CACHE_cache_lock, key_LOCK_alarm,
key_my_thread_var_mutex, key_THR_LOCK_charset, key_THR_LOCK_heap,
@@ -487,9 +483,6 @@ static PSI_mutex_info all_mysys_mutexes[]=
#if !defined(HAVE_LOCALTIME_R) || !defined(HAVE_GMTIME_R)
{ &key_LOCK_localtime_r, "LOCK_localtime_r", PSI_FLAG_GLOBAL},
#endif /* !defined(HAVE_LOCALTIME_R) || !defined(HAVE_GMTIME_R) */
-#ifndef HAVE_GETHOSTBYNAME_R
- { &key_LOCK_gethostbyname_r, "LOCK_gethostbyname_r", PSI_FLAG_GLOBAL},
-#endif /* HAVE_GETHOSTBYNAME_R */
{ &key_BITMAP_mutex, "BITMAP::mutex", 0},
{ &key_IO_CACHE_append_buffer_lock, "IO_CACHE::append_buffer_lock", 0},
{ &key_IO_CACHE_SHARE_mutex, "IO_CACHE::SHARE_mutex", 0},