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 0da7d5b3acf..24fe14b6675 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -228,8 +228,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; @@ -431,6 +431,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); |