This commit is contained in:
plum-lihui 2022-01-19 15:02:31 +08:00
parent c40b66e7ad
commit b3526ee271
1 changed files with 1 additions and 1 deletions

View File

@ -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);