os: fix other error
This commit is contained in:
parent
1a18422fdb
commit
7a7098315c
|
@ -20,6 +20,12 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// If the error is in a third-party library, place this header file under the third-party library header file.
|
||||||
|
// When you want to use this feature, you should find or add the same function in the following sectio
|
||||||
|
#ifndef ALLOW_FORBID_FUNC
|
||||||
|
#define qsort QSORT_FUNC_TAOS_FORBID
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TPOW2(x) ((x) * (x))
|
#define TPOW2(x) ((x) * (x))
|
||||||
#define TABS(x) ((x) > 0 ? (x) : -(x))
|
#define TABS(x) ((x) > 0 ? (x) : -(x))
|
||||||
|
|
||||||
|
|
|
@ -1025,7 +1025,7 @@ static int32_t mndTransExecNullMsg(SMnode *pMnode, STrans *pTrans, STransAction
|
||||||
pTrans->lastAction = pAction->id;
|
pTrans->lastAction = pAction->id;
|
||||||
pTrans->lastMsgType = pAction->msgType;
|
pTrans->lastMsgType = pAction->msgType;
|
||||||
pTrans->lastEpset = pAction->epSet;
|
pTrans->lastEpset = pAction->epSet;
|
||||||
pTrans->lastErrorNo == 0;
|
pTrans->lastErrorNo = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue