fix:ci error

This commit is contained in:
wangmm0220 2023-04-21 17:18:40 +08:00
parent e61b51b083
commit d288e44f92
1 changed files with 3 additions and 0 deletions

View File

@ -373,6 +373,9 @@ int32_t tmq_list_append(tmq_list_t* list, const char* src) {
SArray* container = &list->container;
if (src == NULL || src[0] == 0) return -1;
char* topic = taosStrdup(src);
if (topic[0] != '`') {
strtolower(topic, src);
}
if (taosArrayPush(container, &topic) == NULL) return -1;
return 0;
}