fix:[TD-31298] Change error code to make error message more understandable.

This commit is contained in:
sima 2024-08-08 17:28:42 +08:00
parent 65cfa89f56
commit cec97d89fc
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ int32_t createRequest(uint64_t connId, int32_t type, int64_t reqid, SRequestObj
STscObj *pTscObj = acquireTscObj(connId);
if (pTscObj == NULL) {
TSC_ERR_JRET(terrno);
TSC_ERR_JRET(TSDB_CODE_TSC_DISCONNECTED);
}
SSyncQueryParam *interParam = taosMemoryCalloc(1, sizeof(SSyncQueryParam));
if (interParam == NULL) {