feat:[TD-32166] check input params for tmq
This commit is contained in:
parent
7f6e0c5980
commit
e598486b10
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue