fix encode and decode bug
This commit is contained in:
parent
513ba4b9a9
commit
26796d19a7
|
@ -140,6 +140,7 @@ void *tSVCreateTbBatchReqDeserialize(void *buf, SVCreateTbBatchReq *pReq) {
|
||||||
|
|
||||||
buf = taosDecodeFixedU64(buf, &pReq->ver);
|
buf = taosDecodeFixedU64(buf, &pReq->ver);
|
||||||
buf = taosDecodeFixedU32(buf, &nsize);
|
buf = taosDecodeFixedU32(buf, &nsize);
|
||||||
|
pReq->pArray = taosArrayInit(nsize, sizeof(SVCreateTbReq));
|
||||||
for (size_t i = 0; i < nsize; i++) {
|
for (size_t i = 0; i < nsize; i++) {
|
||||||
SVCreateTbReq req;
|
SVCreateTbReq req;
|
||||||
buf = tDeserializeSVCreateTbReq(buf, &req);
|
buf = tDeserializeSVCreateTbReq(buf, &req);
|
||||||
|
|
Loading…
Reference in New Issue