mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge 5.1->5.2
This commit is contained in:
@ -1488,6 +1488,10 @@ static int parse_args(int *argc, char*** argv)
|
||||
*/
|
||||
static Exit_status safe_connect()
|
||||
{
|
||||
/* Close and old connections to MySQL */
|
||||
if (mysql)
|
||||
mysql_close(mysql);
|
||||
|
||||
mysql= mysql_init(NULL);
|
||||
|
||||
if (!mysql)
|
||||
|
Reference in New Issue
Block a user