From 27e17048ac3008bd38520c66b739885f192a0deb Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 26 Jun 2023 09:06:59 +0800 Subject: [PATCH] fix: retention coredump --- source/dnode/vnode/src/tsdb/tsdbRetention.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/vnode/src/tsdb/tsdbRetention.c b/source/dnode/vnode/src/tsdb/tsdbRetention.c index 6580b89dad..c8236e8f52 100644 --- a/source/dnode/vnode/src/tsdb/tsdbRetention.c +++ b/source/dnode/vnode/src/tsdb/tsdbRetention.c @@ -23,7 +23,7 @@ typedef struct { int64_t cid; TFileSetArray *fsetArr; - TFileOpArray *fopArr; + TFileOpArray fopArr[1]; struct { int32_t fsetArrIdx; -- GitLab