This commit is contained in:
dmchen 2023-09-15 09:18:20 +08:00
parent 6dcd5cfae9
commit 3bcb8d5a86
1 changed files with 1 additions and 1 deletions

View File

@ -6891,7 +6891,7 @@ int tDecodeSVCreateTbReq(SDecoder *pCoder, SVCreateTbReq *pReq) {
ASSERT(0);
}
if(tDecodeIsEnd(pCoder)){
if(!tDecodeIsEnd(pCoder)){
if(tDecodeI32(pCoder, &pReq->sqlLen) < 0) return -1;
if(pReq->sqlLen > 0){
pReq->sql = taosMemoryCalloc(1, pReq->sqlLen + 1);