diff --git a/src/client/src/tscSql.c b/src/client/src/tscSql.c index 4c3e0b81607befbd3d7280b3d635093843aed30f..5023534f659de76ec1b3d4edcdc64e2206f547ef 100644 --- a/src/client/src/tscSql.c +++ b/src/client/src/tscSql.c @@ -74,6 +74,7 @@ TAOS *taos_connect_imp(const char *ip, const char *user, const char *pass, const tscMgmtIpList.ip[2] = inet_addr(tsMasterIp); strcpy(tscMgmtIpList.ipstr[3], tsSecondIp); tscMgmtIpList.ip[3] = inet_addr(tsSecondIp); + strcpy(tsMasterIp, ip); } pObj = (STscObj *)malloc(sizeof(STscObj)); diff --git a/src/util/src/version.c b/src/util/src/version.c index 9bb4cea43261611aefbcc1c74ecfa301d4884a92..265fc7b7dc36ede8806b81eb3bfb1773f97d5840 100644 --- a/src/util/src/version.c +++ b/src/util/src/version.c @@ -2,6 +2,6 @@ char version[64] = "1.6.6.1"; char compatible_version[64] = "1.6.0.0"; char gitinfo[128] = "0b5b412ef0ae2449ece538601a29b899b2b727b9"; char gitinfoOfInternal[128] = "8ae0d83a3610b9b4726373dd3073e4a8f444fb26"; -char buildinfo[512] = "Built by root at 2020-03-03 17:26"; +char buildinfo[512] = "Built by root at 2020-03-11 09:08"; void libtaos_1_6_6_1_Linux_x64_beta() {};