From 4b29cf3748dc87ed17207b1fe54afccaafc8c9d7 Mon Sep 17 00:00:00 2001 From: plum-lihui Date: Wed, 19 Jan 2022 14:32:13 +0800 Subject: [PATCH] [modify] --- tests/test/c/create_table.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test/c/create_table.c b/tests/test/c/create_table.c index 60d2321a7d..d8fced3011 100644 --- a/tests/test/c/create_table.c +++ b/tests/test/c/create_table.c @@ -204,7 +204,7 @@ void *threadFunc(void *param) { int64_t startTs = taosGetTimestampUs(); TAOS_RES *pRes = taos_query(con, qstr); code = taos_errno(pRes); - if (code != 0) { + if ((code != 0) && (code != 0x0002)) { pError("failed to create table t%" PRId64 ", reason:%s", t, tstrerror(code)); } taos_free_result(pRes); @@ -227,7 +227,6 @@ void *threadFunc(void *param) { if (insertData) { int64_t curMs = 0; int64_t beginMs = taosGetTimestampMs(); - ; pInfo->startMs = taosGetTimestampMs(); for (int64_t t = pInfo->tableBeginIndex; t < pInfo->tableEndIndex; ++t) {