From ade504f9eb58d47fde1159ee570345d00b928d10 Mon Sep 17 00:00:00 2001 From: jtao1735 Date: Tue, 5 May 2020 00:16:25 +0000 Subject: [PATCH] remove the unused message type --- src/common/src/tmessage.c | 7 +------ src/inc/taosmsg.h | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/common/src/tmessage.c b/src/common/src/tmessage.c index 78ce17db75..ebccd51e7d 100644 --- a/src/common/src/tmessage.c +++ b/src/common/src/tmessage.c @@ -122,13 +122,8 @@ char *taosMsg[] = { "status-rsp", "grant", "grant-rsp", - "", - "", //100 + "", //99 - "sdb-sync", - "sdb-sync-rsp", - "sdb-forward", - "sdb-forward-rsp", "max" }; diff --git a/src/inc/taosmsg.h b/src/inc/taosmsg.h index e8ac7255f0..3bae13ecab 100644 --- a/src/inc/taosmsg.h +++ b/src/inc/taosmsg.h @@ -119,12 +119,7 @@ extern "C" { #define TSDB_MSG_TYPE_DM_GRANT 97 #define TSDB_MSG_TYPE_DM_GRANT_RSP 98 -#define TSDB_MSG_TYPE_SDB_SYNC 101 -#define TSDB_MSG_TYPE_SDB_SYNC_RSP 102 -#define TSDB_MSG_TYPE_SDB_FORWARD 103 -#define TSDB_MSG_TYPE_SDB_FORWARD_RSP 104 - -#define TSDB_MSG_TYPE_MAX 105 +#define TSDB_MSG_TYPE_MAX 100 // IE type #define TSDB_IE_TYPE_SEC 1 -- GitLab