fix sync coredump

This commit is contained in:
Hongze Cheng 2021-01-22 09:58:50 +08:00
parent 856fe02124
commit 3b0c58848f
1 changed files with 1 additions and 1 deletions

View File

@ -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);