Skip to content

Commit

Permalink
test: add test case for auto compact
Browse files Browse the repository at this point in the history
  • Loading branch information
kailixu committed Dec 29, 2024
1 parent f0a8588 commit 2c917a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/libs/parser/src/parTranslater.c
Original file line number Diff line number Diff line change
Expand Up @@ -8413,6 +8413,7 @@ static int32_t checkCreateDatabase(STranslateContext* pCxt, SCreateDatabaseStmt*
pCmdReq->sql = cmdSql;

static int32_t fillCmdSql(STranslateContext* pCxt, int16_t msgType, void* pReq) {
int32_t code = 0;
const char* sql = pCxt->pParseCxt->pSql;
size_t sqlLen = pCxt->pParseCxt->sqlLen;

Expand Down Expand Up @@ -8544,7 +8545,7 @@ static int32_t fillCmdSql(STranslateContext* pCxt, int16_t msgType, void* pReq)
}
}

return TSDB_CODE_SUCCESS;
return code;
}

typedef int32_t (*FSerializeFunc)(void* pBuf, int32_t bufLen, void* pReq);
Expand Down

0 comments on commit 2c917a9

Please sign in to comment.