!2617 [共享存储] 修复dms port超过32767时dn启动失败问题
Merge pull request !2617 from 陈婷婷/master
This commit is contained in:
@ -64,7 +64,7 @@ static void scanURL(dms_profile_t* profile, char* ipportstr, int index)
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
errmsg("invalid ip string: %s", ipstr)));
|
||||
}
|
||||
profile->inst_net_addr[index].port = (uint16)pg_strtoint16(portstr);
|
||||
profile->inst_net_addr[index].port = (uint16)pg_strtoint32(portstr);
|
||||
profile->inst_map |= ((uint64)1 << index);
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user