mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
merge with 4.0.18
This commit is contained in:
@@ -2545,8 +2545,11 @@ static int
|
||||
sql_real_connect(char *host,char *database,char *user,char *password,
|
||||
uint silent)
|
||||
{
|
||||
mysql_close(&mysql);
|
||||
connected= 0;
|
||||
if (connected)
|
||||
{
|
||||
connected= 0;
|
||||
mysql_close(&mysql);
|
||||
}
|
||||
mysql_init(&mysql);
|
||||
if (opt_connect_timeout)
|
||||
{
|
||||
|
Reference in New Issue
Block a user