From 4187ae43ab71726a2f02f29b9135addf500cc972 Mon Sep 17 00:00:00 2001 From: Jeff Tao Date: Sat, 23 May 2020 14:59:11 +0000 Subject: [PATCH] compiling option --- src/vnode/src/vnodeMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnode/src/vnodeMain.c b/src/vnode/src/vnodeMain.c index d548c0fc98..b8bc29550e 100644 --- a/src/vnode/src/vnodeMain.c +++ b/src/vnode/src/vnodeMain.c @@ -252,7 +252,7 @@ int32_t vnodeOpen(int32_t vnode, char *rootDir) { #ifndef _SYNC pVnode->role = TAOS_SYNC_ROLE_MASTER; -#elif +#else if (pVnode->sync == NULL) { vnodeCleanUp(pVnode); return terrno;