You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-05 04:50:35 +03:00
Tentative fix for the getsystemnetworkconfig cmd re mcol-1607.
This commit is contained in:
@@ -5404,7 +5404,14 @@ int processCommand(string* arguments)
|
|||||||
|
|
||||||
for ( ; pt1 != (*pt).hostConfigList.end() ; pt1++)
|
for ( ; pt1 != (*pt).hostConfigList.end() ; pt1++)
|
||||||
{
|
{
|
||||||
string ipAddr = (*pt1).IPAddr;
|
/* MCOL-1607. IPAddr may be a host name here b/c it is read straight
|
||||||
|
from the config file. */
|
||||||
|
string tmphost = oam.getIPAddress(pt1->IPAddr);
|
||||||
|
string ipAddr;
|
||||||
|
if (tmphost.empty())
|
||||||
|
ipAddr = pt1->IPAddr;
|
||||||
|
else
|
||||||
|
ipAddr = tmphost;
|
||||||
string hostname = (*pt1).HostName;
|
string hostname = (*pt1).HostName;
|
||||||
string nicID = oam.itoa((*pt1).NicID);
|
string nicID = oam.itoa((*pt1).NicID);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user