提交 0c052586 编写于 作者: H Hongze Cheng

more

上级 27360702
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册