diff options
author | Konstantin Osipov <kostja@sun.com> | 2010-08-12 20:44:41 +0400 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2010-08-12 20:44:41 +0400 |
commit | 82759db0cc67bfb1454c5f7cf1c5aaa8f8559404 (patch) | |
tree | 8a6d0d6625d9fdcbf7f47a37e463619eb5128d96 /sql/sql_servers.cc | |
parent | fdf855e2ef324efbbfaa083c4b5f9bb14ff4d2ff (diff) | |
download | mariadb-git-82759db0cc67bfb1454c5f7cf1c5aaa8f8559404.tar.gz |
Remove dead code.
sql/sql_base.h:
Remove an unused parameter.
sql/sql_servers.cc:
Remove an unused parameter.
Diffstat (limited to 'sql/sql_servers.cc')
-rw-r--r-- | sql/sql_servers.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_servers.cc b/sql/sql_servers.cc index cfbf8e96719..bc845ed2cdd 100644 --- a/sql/sql_servers.cc +++ b/sql/sql_servers.cc @@ -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"); |