Merge pull request #27090 from taosdata/fix/3.0/TD-31298

fix:[TD-31298] Change error code to make error message more understandable.
This commit is contained in:
dapan1121 2024-08-08 17:30:43 +08:00 committed by GitHub
commit d6b3b3b49f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) {