From b3526ee271070d4e84c4029fc072d6cc7b1e27fd Mon Sep 17 00:00:00 2001 From: plum-lihui Date: Wed, 19 Jan 2022 15:02:31 +0800 Subject: [PATCH] [modify] --- tests/test/c/create_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test/c/create_table.c b/tests/test/c/create_table.c index d835760423..6df31c7b8b 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) && (code != 0x0002)) { + if ((code != 0) && (code != TSDB_CODE_RPC_AUTH_REQUIRED)) { pError("failed to create table t%" PRId64 ", code: %d, reason:%s", t, code, tstrerror(code)); } taos_free_result(pRes);