fix more
This commit is contained in:
parent
d3daba5e84
commit
fdf165933d
|
@ -9975,9 +9975,9 @@ void tFreeMDropStreamReq(SMDropStreamReq *pReq) { FREESQL(); }
|
||||||
// SEncoder encoder = {0};
|
// SEncoder encoder = {0};
|
||||||
// tEncoderInit(&encoder, buf, bufLen);
|
// tEncoderInit(&encoder, buf, bufLen);
|
||||||
|
|
||||||
// TMSG_CHECK_GOTO(tStartEncode(&encoder));
|
// if (tStartEncode(&encoder) < 0) return -1;
|
||||||
// TMSG_CHECK_GOTO(tEncodeCStr(&encoder, pReq->name));
|
// if (tEncodeCStr(&encoder, pReq->name) < 0) return -1;
|
||||||
// TMSG_CHECK_GOTO(tEncodeI8(&encoder, pReq->igNotExists));
|
// if (tEncodeI8(&encoder, pReq->igNotExists) < 0) return -1;
|
||||||
|
|
||||||
// tEndEncode(&encoder);
|
// tEndEncode(&encoder);
|
||||||
|
|
||||||
|
@ -9987,14 +9987,12 @@ void tFreeMDropStreamReq(SMDropStreamReq *pReq) { FREESQL(); }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// int32_t tDeserializeSMRecoverStreamReq(void *buf, int32_t bufLen, SMRecoverStreamReq *pReq) {
|
// int32_t tDeserializeSMRecoverStreamReq(void *buf, int32_t bufLen, SMRecoverStreamReq *pReq) {
|
||||||
int32_t code = 0;
|
|
||||||
int32_t lino;
|
|
||||||
// SDecoder decoder = {0};
|
// SDecoder decoder = {0};
|
||||||
// tDecoderInit(&decoder, buf, bufLen);
|
// tDecoderInit(&decoder, buf, bufLen);
|
||||||
|
|
||||||
// TMSG_CHECK_GOTO(tStartDecode(&decoder));
|
// if (tStartDecode(&decoder) < 0) return -1;
|
||||||
// TMSG_CHECK_GOTO(tDecodeCStrTo(&decoder, pReq->name));
|
// if (tDecodeCStrTo(&decoder, pReq->name) < 0) return -1;
|
||||||
// TMSG_CHECK_GOTO(tDecodeI8(&decoder, &pReq->igNotExists));
|
// if (tDecodeI8(&decoder, &pReq->igNotExists) < 0) return -1;
|
||||||
|
|
||||||
// tEndDecode(&decoder);
|
// tEndDecode(&decoder);
|
||||||
|
|
||||||
|
@ -10189,6 +10187,9 @@ _exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
int tDecodeSVCreateTbReq(SDecoder *pCoder, SVCreateTbReq *pReq) {
|
int tDecodeSVCreateTbReq(SDecoder *pCoder, SVCreateTbReq *pReq) {
|
||||||
|
int32_t code = 0;
|
||||||
|
int32_t lino;
|
||||||
|
|
||||||
TMSG_CHECK_GOTO(tStartDecode(pCoder));
|
TMSG_CHECK_GOTO(tStartDecode(pCoder));
|
||||||
|
|
||||||
TMSG_CHECK_GOTO(tDecodeI32v(pCoder, &pReq->flags));
|
TMSG_CHECK_GOTO(tDecodeI32v(pCoder, &pReq->flags));
|
||||||
|
@ -12301,6 +12302,9 @@ _exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t tEncodeSViewMetaRsp(SEncoder *pEncoder, const SViewMetaRsp *pRsp) {
|
static int32_t tEncodeSViewMetaRsp(SEncoder *pEncoder, const SViewMetaRsp *pRsp) {
|
||||||
|
int32_t code = 0;
|
||||||
|
int32_t lino;
|
||||||
|
|
||||||
TMSG_CHECK_GOTO(tEncodeCStr(pEncoder, pRsp->name));
|
TMSG_CHECK_GOTO(tEncodeCStr(pEncoder, pRsp->name));
|
||||||
TMSG_CHECK_GOTO(tEncodeCStr(pEncoder, pRsp->dbFName));
|
TMSG_CHECK_GOTO(tEncodeCStr(pEncoder, pRsp->dbFName));
|
||||||
TMSG_CHECK_GOTO(tEncodeCStr(pEncoder, pRsp->user));
|
TMSG_CHECK_GOTO(tEncodeCStr(pEncoder, pRsp->user));
|
||||||
|
@ -12343,6 +12347,9 @@ _exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t tDecodeSViewMetaRsp(SDecoder *pDecoder, SViewMetaRsp *pRsp) {
|
static int32_t tDecodeSViewMetaRsp(SDecoder *pDecoder, SViewMetaRsp *pRsp) {
|
||||||
|
int32_t code = 0;
|
||||||
|
int32_t lino;
|
||||||
|
|
||||||
TMSG_CHECK_GOTO(tDecodeCStrTo(pDecoder, pRsp->name));
|
TMSG_CHECK_GOTO(tDecodeCStrTo(pDecoder, pRsp->name));
|
||||||
TMSG_CHECK_GOTO(tDecodeCStrTo(pDecoder, pRsp->dbFName));
|
TMSG_CHECK_GOTO(tDecodeCStrTo(pDecoder, pRsp->dbFName));
|
||||||
TMSG_CHECK_GOTO(tDecodeCStrAlloc(pDecoder, &pRsp->user));
|
TMSG_CHECK_GOTO(tDecodeCStrAlloc(pDecoder, &pRsp->user));
|
||||||
|
|
Loading…
Reference in New Issue