Commit 3d4adc3f authored by Olivier Bertrand's avatar Olivier Bertrand

- Change in connect_assisted_discovery the default value for port from MYSQL_PORT

  to 0. So it can be later set to mysqld_port if necessary. Doing so, it is no
  more required to specify port when using the current port and the current port
  is not equal to MYSQL_PORT (3306)

modified:
  storage/connect/ha_connect.cc
parent 7461d8e3
......@@ -3333,7 +3333,7 @@ static int connect_assisted_discovery(handlerton *hton, THD* thd,
db= GetListOption(g,"database", topt->oplist, db);
pwd= GetListOption(g,"password", topt->oplist);
prt= GetListOption(g,"port", topt->oplist);
port= (prt) ? atoi(prt) : MYSQL_PORT;
port= (prt) ? atoi(prt) : 0;
#if defined(WIN32)
nsp= GetListOption(g,"namespace", topt->oplist);
cls= GetListOption(g,"class", topt->oplist);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment