fix(sma): fix case
This commit is contained in:
parent
9847abf166
commit
41b2595086
|
@ -255,7 +255,7 @@ static void tdDestroyRSmaStat(void *pRSmaStat) {
|
||||||
|
|
||||||
// step 2: destroy the rsma info and associated fetch tasks
|
// step 2: destroy the rsma info and associated fetch tasks
|
||||||
// TODO: use taosHashSetFreeFp when taosHashSetFreeFp is ready.
|
// TODO: use taosHashSetFreeFp when taosHashSetFreeFp is ready.
|
||||||
#if 0
|
#if 1
|
||||||
if (taosHashGetSize(RSMA_INFO_HASH(pStat)) > 0) {
|
if (taosHashGetSize(RSMA_INFO_HASH(pStat)) > 0) {
|
||||||
void *infoHash = taosHashIterate(RSMA_INFO_HASH(pStat), NULL);
|
void *infoHash = taosHashIterate(RSMA_INFO_HASH(pStat), NULL);
|
||||||
while (infoHash) {
|
while (infoHash) {
|
||||||
|
|
|
@ -41,7 +41,8 @@ print =============== show streams ================================
|
||||||
sql show streams;
|
sql show streams;
|
||||||
print $data00 $data01 $data02
|
print $data00 $data01 $data02
|
||||||
|
|
||||||
if $data00 != d1 then
|
if $data00 != sma_index_name1 then
|
||||||
|
print $data00
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue