diff --git a/source/dnode/vnode/src/tsdb/tsdbMemTable.c b/source/dnode/vnode/src/tsdb/tsdbMemTable.c index 46f5aefba02c9c9c26b9f93802b1d430ff956502..bf47f25e15df91cf8950c2777e0426ed6864fd49 100644 --- a/source/dnode/vnode/src/tsdb/tsdbMemTable.c +++ b/source/dnode/vnode/src/tsdb/tsdbMemTable.c @@ -307,7 +307,7 @@ void tsdbMemTableCountRows(SMemTable *pMemTable, SHashObj* pTableMap, int continue; } - rowsNum += tsdbCountTbDataRows(pTbData); + *rowsNum += tsdbCountTbDataRows(pTbData); pTbData = pTbData->next; } }