提交 5a4ac21d 编写于 作者: P Ping Xiao

fix crash issue

上级 afd0869a
......@@ -30,6 +30,7 @@ int points = 5;
int numOfTables = 3;
int tablesProcessed = 0;
int64_t st, et;
int done = 0;
typedef struct {
int id;
......@@ -163,6 +164,16 @@ int main(int argc, char *argv[])
getchar();
while(1) {
if (tablesProcessed < numOfTables) {
printf("wait for process finished\n");
sleep(1);
continue;
}
break;
}
taos_close(taos);
free(tableList);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册