mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Remove dead code.
This commit is contained in:
@@ -628,7 +628,7 @@ int drop_server(THD *thd, LEX_SERVER_OPTIONS *server_options)
|
||||
/* close the servers table before we call closed_cached_connection_tables */
|
||||
close_mysql_tables(thd);
|
||||
|
||||
if (close_cached_connection_tables(thd, TRUE, &name))
|
||||
if (close_cached_connection_tables(thd, &name))
|
||||
{
|
||||
push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
||||
ER_UNKNOWN_ERROR, "Server connection in use");
|
||||
@@ -1057,7 +1057,7 @@ int alter_server(THD *thd, LEX_SERVER_OPTIONS *server_options)
|
||||
/* close the servers table before we call closed_cached_connection_tables */
|
||||
close_mysql_tables(thd);
|
||||
|
||||
if (close_cached_connection_tables(thd, FALSE, &name))
|
||||
if (close_cached_connection_tables(thd, &name))
|
||||
{
|
||||
push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
||||
ER_UNKNOWN_ERROR, "Server connection in use");
|
||||
|
||||
Reference in New Issue
Block a user