fix(sma): fix case

This commit is contained in:
Liu Jicong 2022-07-14 17:36:46 +08:00
parent 9847abf166
commit 41b2595086
2 changed files with 3 additions and 2 deletions

View File

@ -255,7 +255,7 @@ static void tdDestroyRSmaStat(void *pRSmaStat) {
// step 2: destroy the rsma info and associated fetch tasks
// TODO: use taosHashSetFreeFp when taosHashSetFreeFp is ready.
#if 0
#if 1
if (taosHashGetSize(RSMA_INFO_HASH(pStat)) > 0) {
void *infoHash = taosHashIterate(RSMA_INFO_HASH(pStat), NULL);
while (infoHash) {

View File

@ -41,7 +41,8 @@ print =============== show streams ================================
sql show streams;
print $data00 $data01 $data02
if $data00 != d1 then
if $data00 != sma_index_name1 then
print $data00
return -1
endi