summaryrefslogtreecommitdiff
path: root/client/mysqladmin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r--client/mysqladmin.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc
index bab94d6e5ee..aa6a188166d 100644
--- a/client/mysqladmin.cc
+++ b/client/mysqladmin.cc
@@ -716,10 +716,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
if (mysql_refresh(mysql,
(uint) ~(REFRESH_GRANT | REFRESH_STATUS |
REFRESH_READ_LOCK | REFRESH_SLAVE |
- REFRESH_MASTER | REFRESH_TABLE_STATS |
- REFRESH_INDEX_STATS |
- REFRESH_USER_STATS |
- REFRESH_CLIENT_STATS)))
+ REFRESH_MASTER)))
{
my_printf_error(0, "refresh failed; error: '%s'", error_flags,
mysql_error(mysql));