From 1b7945d4dbf04006ac247f384264e480b48f2177 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 16 Nov 2020 16:42:08 +0800 Subject: [PATCH] fix compile error --- src/tsdb/src/tsdbMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbMain.c b/src/tsdb/src/tsdbMain.c index 27c66acc56..3990c0c516 100644 --- a/src/tsdb/src/tsdbMain.c +++ b/src/tsdb/src/tsdbMain.c @@ -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);