Merge pull request #27782 from taosdata/fix/3_liaohj
fix(stream): fix syntax error.
This commit is contained in:
commit
053080bbe3
|
@ -903,7 +903,7 @@ static int32_t mndProcessCreateStreamReq(SRpcMsg *pReq) {
|
||||||
|
|
||||||
_OVER:
|
_OVER:
|
||||||
if (code != TSDB_CODE_SUCCESS && code != TSDB_CODE_ACTION_IN_PROGRESS) {
|
if (code != TSDB_CODE_SUCCESS && code != TSDB_CODE_ACTION_IN_PROGRESS) {
|
||||||
mError("stream:%s, failed to create at line:%d since %s", createReq.name, lino, terrstr(code));
|
mError("stream:%s, failed to create at line:%d since %s", createReq.name, lino, tstrerror(code));
|
||||||
} else {
|
} else {
|
||||||
mDebug("stream:%s create stream completed", createReq.name);
|
mDebug("stream:%s create stream completed", createReq.name);
|
||||||
code = TSDB_CODE_ACTION_IN_PROGRESS;
|
code = TSDB_CODE_ACTION_IN_PROGRESS;
|
||||||
|
@ -1121,7 +1121,7 @@ static int32_t mndProcessStreamCheckpointTrans(SMnode *pMnode, SStreamObj *pStre
|
||||||
|
|
||||||
code = mndTransPrepare(pMnode, pTrans);
|
code = mndTransPrepare(pMnode, pTrans);
|
||||||
if (code != TSDB_CODE_SUCCESS && code != TSDB_CODE_ACTION_IN_PROGRESS) {
|
if (code != TSDB_CODE_SUCCESS && code != TSDB_CODE_ACTION_IN_PROGRESS) {
|
||||||
mError("failed to prepare checkpoint trans since %s", terrstr(code));
|
mError("failed to prepare checkpoint trans since %s", tstrerror(code));
|
||||||
} else {
|
} else {
|
||||||
code = TSDB_CODE_ACTION_IN_PROGRESS;
|
code = TSDB_CODE_ACTION_IN_PROGRESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue