From e4fde57712afd106ccf9752ceadcdcac604da8d9 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Thu, 20 Mar 2014 11:11:13 +0400 Subject: MDEV-5864 - Reduce usage of LOCK_open: TABLE_SHARE::tdc.free_tables Let TABLE_SHARE::tdc.free_tables, TABLE_SHARE::tdc.all_tables, TABLE_SHARE::tdc.flushed and corresponding invariants be protected by per-share TABLE_SHARE::tdc.LOCK_table_share instead of global LOCK_open. --- storage/federatedx/ha_federatedx.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'storage/federatedx') diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc index e481c30deff..d8b9bcbb075 100644 --- a/storage/federatedx/ha_federatedx.cc +++ b/storage/federatedx/ha_federatedx.cc @@ -3384,14 +3384,6 @@ int ha_federatedx::create(const char *name, TABLE *table_arg, { FEDERATEDX_SERVER server; - /* - Bug#25679 - Ensure that we do not hold the LOCK_open mutex while attempting - to establish FederatedX connection to guard against a trivial - Denial of Service scenerio. - */ - mysql_mutex_assert_not_owner(&LOCK_open); - fill_server(thd->mem_root, &server, &tmp_share, create_info->table_charset); #ifndef DBUG_OFF -- cgit v1.2.1