fix sync coredump
This commit is contained in:
parent
856fe02124
commit
3b0c58848f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue