diff --git a/source/dnode/vnode/src/tsdb/tsdbSnapshot.c b/source/dnode/vnode/src/tsdb/tsdbSnapshot.c index 502d227121c8019406ce589fe6960b3a680b69bd..99e88a442c16e77f2db2ca752eb54f4e120532f8 100644 --- a/source/dnode/vnode/src/tsdb/tsdbSnapshot.c +++ b/source/dnode/vnode/src/tsdb/tsdbSnapshot.c @@ -51,7 +51,7 @@ struct STsdbSnapReader { SDataFReader* pDataFReader; SFDataIter* pIter; SRBTree rbt; - SFDataIter aFDataIter[TSDB_MAX_STT_FILE + 1]; + SFDataIter aFDataIter[TSDB_MAX_STT_TRIGGER + 1]; SBlockData bData; SSkmInfo skmTable; // for del file