提交 d025ec5e 编写于 作者: Z zhaoyanggh

fix

上级 b06ae7d1
...@@ -10302,7 +10302,8 @@ static void startMultiThreadInsertData(int threads, char* db_name, ...@@ -10302,7 +10302,8 @@ static void startMultiThreadInsertData(int threads, char* db_name,
b = ntables % threads; b = ntables % threads;
} }
if (g_args.iface == REST_IFACE) { if (g_args.iface == REST_IFACE ||
((stbInfo) && (stbInfo->iface == REST_IFACE)) ) {
if (convertHostToServAddr( if (convertHostToServAddr(
g_Dbs.host, g_Dbs.port, &(g_Dbs.serv_addr)) != 0) { g_Dbs.host, g_Dbs.port, &(g_Dbs.serv_addr)) != 0) {
ERROR_EXIT("convert host to server address"); ERROR_EXIT("convert host to server address");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册