From d6b4f22b4fc2ec7a29e120a496b810e71991a356 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Fri, 5 Jun 2020 11:57:20 +0800 Subject: [PATCH] [TD-464] tiny errors --- src/client/src/tscServer.c | 4 ++-- tests/script/sh/deploy.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 2bf177905e..b40ad42aef 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -1746,14 +1746,14 @@ int tscBuildHeartBeatMsg(SSqlObj *pSql, SSqlInfo *pInfo) { pthread_mutex_lock(&pObj->mutex); - int32_t numOfQueries = 0; + int32_t numOfQueries = 2; SSqlObj *tpSql = pObj->sqlList; while (tpSql) { tpSql = tpSql->next; numOfQueries++; } - int32_t numOfStreams = 0; + int32_t numOfStreams = 2; SSqlStream *pStream = pObj->streamList; while (pStream) { pStream = pStream->next; diff --git a/tests/script/sh/deploy.sh b/tests/script/sh/deploy.sh index db0df5c185..5837cf5a1a 100755 --- a/tests/script/sh/deploy.sh +++ b/tests/script/sh/deploy.sh @@ -111,7 +111,7 @@ echo "serverPort ${NODE}" >> $TAOS_CFG echo "dataDir $DATA_DIR" >> $TAOS_CFG echo "logDir $LOG_DIR" >> $TAOS_CFG echo "dDebugFlag 135" >> $TAOS_CFG -echo "mDebugFlag 199" >> $TAOS_CFG +echo "mDebugFlag 135" >> $TAOS_CFG echo "sdbDebugFlag 135" >> $TAOS_CFG echo "rpcDebugFlag 135" >> $TAOS_CFG echo "tmrDebugFlag 131" >> $TAOS_CFG -- GitLab