Merge branch 'szhou/feat/audit-sql' of github.com:taosdata/TDengine into szhou/feat/audit-sql

This commit is contained in:
shenglian zhou 2023-09-15 09:57:42 +08:00
commit 00c0f34d66
1 changed files with 1 additions and 1 deletions

View File

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