diff options
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r-- | client/mysqladmin.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index 2e8b3cd588a..21e8f6ab3e4 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -224,8 +224,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), switch(optid) { #ifdef __NETWARE__ case 'a': - setscreenmode(SCR_AUTOCLOSE_ON_EXIT); // auto close the screen / - break; + setscreenmode(SCR_AUTOCLOSE_ON_EXIT); // auto close the screen / + break; #endif case 'c': opt_count_iterations= 1; @@ -425,6 +425,7 @@ static my_bool sql_connect(MYSQL *mysql, uint wait) if (mysql_real_connect(mysql,host,user,opt_password,NullS,tcp_port, unix_port, 0)) { + mysql->reconnect= 1; if (info) { fputs("\n",stderr); |