From 3b0c58848f3132e11a4dda11da5fd54c70281a1f Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 22 Jan 2021 09:58:50 +0800 Subject: [PATCH] fix sync coredump --- src/tsdb/src/tsdbSync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbSync.c b/src/tsdb/src/tsdbSync.c index 0883cd2fed..6f5057164f 100644 --- a/src/tsdb/src/tsdbSync.c +++ b/src/tsdb/src/tsdbSync.c @@ -80,7 +80,7 @@ _err: int32_t tsdbSyncRecv(void *tsdb, int32_t socketFd) { STsdbRepo *pRepo = (STsdbRepo *)tsdb; - SSyncH synch; + SSyncH synch = {0}; tsdbInitSyncH(&synch, pRepo, socketFd); tsdbStartFSTxn(pRepo, 0, 0); -- GitLab