diff options
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 924af3a9977..21e8f6ab3e4 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -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); |