From 3da5d2ab1fd0c07317cd24e80a75e74348eaa944 Mon Sep 17 00:00:00 2001 From: slguan Date: Tue, 10 Sep 2019 18:35:31 +0800 Subject: [PATCH] fix issue #486 --- src/client/src/tscServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 49b58d8f3a..268ff5c9fb 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -35,7 +35,7 @@ #define TSC_MGMT_VNODE 999 int tsMasterIndex = 0; -int tsSlaveIndex = 1; +int tsSlaveIndex = 0; // slave == master for single node edition uint32_t tsServerIp; int (*tscBuildMsg[TSDB_SQL_MAX])(SSqlObj *pSql); -- GitLab