summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-01-05 13:36:14 +0100
committerSergei Golubchik <serg@mariadb.org>2015-02-10 10:21:17 +0100
commitcf8bf0b68e1c4281535813d4087680296138271c (patch)
tree6215215741e5ff9cebc7b7ec83168f396b735882 /mysys
parentc8997c39b4fac47eb580ea31f97a421bfc399e28 (diff)
downloadmariadb-git-cf8bf0b68e1c4281535813d4087680296138271c.tar.gz
encryption key management plugin api
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_thr_init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mysys/my_thr_init.c b/mysys/my_thr_init.c
index d49a2eff970..debff7d396c 100644
--- a/mysys/my_thr_init.c
+++ b/mysys/my_thr_init.c
@@ -66,10 +66,6 @@ static void my_thread_init_common_mutex(void)
#if !defined(HAVE_LOCALTIME_R) || !defined(HAVE_GMTIME_R)
mysql_mutex_init(key_LOCK_localtime_r, &LOCK_localtime_r, MY_MUTEX_INIT_SLOW);
#endif
-#ifndef DBUG_OFF
- mysql_rwlock_init(key_LOCK_dbug_encryption_key_version,
- &LOCK_dbug_encryption_key_version);
-#endif
}
void my_thread_destroy_common_mutex(void)
@@ -84,9 +80,6 @@ void my_thread_destroy_common_mutex(void)
#if !defined(HAVE_LOCALTIME_R) || !defined(HAVE_GMTIME_R)
mysql_mutex_destroy(&LOCK_localtime_r);
#endif
-#ifndef DBUG_OFF
- mysql_rwlock_destroy(&LOCK_dbug_encryption_key_version);
-#endif
}