more
This commit is contained in:
parent
273607029e
commit
0c0525860b
|
@ -20,6 +20,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "encode.h"
|
||||
#include "taosdef.h"
|
||||
#include "taoserror.h"
|
||||
#include "tcoding.h"
|
||||
|
@ -1143,17 +1144,6 @@ typedef struct SVCreateTbReq {
|
|||
|
||||
static FORCE_INLINE int tSerializeSVCreateTbReq(void** buf, const SVCreateTbReq* pReq) {
|
||||
int tlen = 0;
|
||||
// uint8_t* pBuf = (uint8_t*)(*buf);
|
||||
|
||||
// if (TD_RT_ENDIAN() == TD_LITTLE_ENDIAN) {
|
||||
// pBuf += tPut(pBuf, pReq->ver, uint64_t);
|
||||
// pBuf += tPut(pBuf, pReq->ttl, uint32_t);
|
||||
// pBuf += tPut(pBuf, pReq->keep, uint32_t);
|
||||
// } else {
|
||||
// pBuf += tPutl(pBuf, pReq->ver, uint64_t);
|
||||
// pBuf += tPutl(pBuf, pReq->ttl, uint32_t);
|
||||
// pBuf += tPutl(pBuf, pReq->keep, uint32_t);
|
||||
// }
|
||||
|
||||
tlen += taosEncodeFixedU64(buf, pReq->ver);
|
||||
tlen += taosEncodeString(buf, pReq->name);
|
||||
|
|
Loading…
Reference in New Issue