fix compile error

This commit is contained in:
Hongze Cheng 2020-11-16 16:42:08 +08:00
parent 9ac87c381c
commit 1b7945d4db
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ _err:
// Note: all working thread and query thread must stopped when calling this function
int tsdbCloseRepo(TSDB_REPO_T *repo, int toCommit) {
if (repo == NULL) return;
if (repo == NULL) return 0;
STsdbRepo *pRepo = (STsdbRepo *)repo;
int vgId = REPO_ID(pRepo);