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:
commit
d6b3b3b49f
|
@ -531,7 +531,7 @@ int32_t createRequest(uint64_t connId, int32_t type, int64_t reqid, SRequestObj
|
||||||
|
|
||||||
STscObj *pTscObj = acquireTscObj(connId);
|
STscObj *pTscObj = acquireTscObj(connId);
|
||||||
if (pTscObj == NULL) {
|
if (pTscObj == NULL) {
|
||||||
TSC_ERR_JRET(terrno);
|
TSC_ERR_JRET(TSDB_CODE_TSC_DISCONNECTED);
|
||||||
}
|
}
|
||||||
SSyncQueryParam *interParam = taosMemoryCalloc(1, sizeof(SSyncQueryParam));
|
SSyncQueryParam *interParam = taosMemoryCalloc(1, sizeof(SSyncQueryParam));
|
||||||
if (interParam == NULL) {
|
if (interParam == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue