diff options
author | serg@serg.mylan <> | 2006-01-03 17:54:54 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2006-01-03 17:54:54 +0100 |
commit | 14f94dc0cad1419e74047956c059c1cf9c3e7a2c (patch) | |
tree | 2c671047ec7c4161ca04e53f5f54c6797f81afd4 /client/mysqladmin.cc | |
parent | 04cff0d055fd63d7f0a9395478171e735799f30b (diff) | |
download | mariadb-git-14f94dc0cad1419e74047956c059c1cf9c3e7a2c.tar.gz |
many warnings (practically safe but annoying) corrected
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r-- | client/mysqladmin.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index 8d2e040b21f..5b52d524f8e 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -569,6 +569,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv) return -1; } mysql_close(mysql); /* Close connection to avoid error messages */ + argc=1; /* force SHUTDOWN to be the last command */ if (got_pidfile) { if (opt_verbose) |