Commit b843de11 authored by Sergei Golubchik's avatar Sergei Golubchik

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 scenario.
parent b4a0b2c2
...@@ -3368,15 +3368,13 @@ int ha_federatedx::create(const char *name, TABLE *table_arg, ...@@ -3368,15 +3368,13 @@ int ha_federatedx::create(const char *name, TABLE *table_arg,
{ {
FEDERATEDX_SERVER server; FEDERATEDX_SERVER server;
#ifdef NOT_YET
/* /*
Bug#25679 Bug#25679
Ensure that we do not hold the LOCK_open mutex while attempting Ensure that we do not hold the LOCK_open mutex while attempting
to establish FederatedX connection to guard against a trivial to establish FederatedX connection to guard against a trivial
Denial of Service scenerio. Denial of Service scenerio.
*/ */
safe_mutex_assert_not_owner(&LOCK_open); mysql_mutex_assert_not_owner(&LOCK_open);
#endif
fill_server(thd->mem_root, &server, &tmp_share, create_info->table_charset); fill_server(thd->mem_root, &server, &tmp_share, create_info->table_charset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment