From 8f1eed23de140254c6d734ca4321b83da38b1f6e Mon Sep 17 00:00:00 2001 From: plum-lihui <2849823933@qq.com> Date: Wed, 11 Mar 2020 10:10:27 +0800 Subject: [PATCH] [#1343] --- src/client/src/tscSql.c | 1 + src/util/src/version.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/src/tscSql.c b/src/client/src/tscSql.c index 4c3e0b8160..5023534f65 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 9bb4cea432..265fc7b7dc 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() {}; -- GitLab