feat:[TD-32166] check input params for tmq

This commit is contained in:
wangmm0220 2024-12-12 16:44:14 +08:00
parent 7f6e0c5980
commit e598486b10
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ END:
}
static int32_t presistConsumerByType(STrans *pTrans, SArray *consumers, int8_t type, char *cgroup, char *topic) {
if (pTrans == NULL || consumers == NULL || cgroup == NULL || topic == NULL) {
if (pTrans == NULL || consumers == NULL || cgroup == NULL) {
return TSDB_CODE_INVALID_PARA;
}
int32_t code = 0;