From 70462035571bd9513233aeb68d0b6c686799e19c Mon Sep 17 00:00:00 2001 From: slguan Date: Wed, 12 Feb 2020 12:46:01 +0800 Subject: [PATCH] split meter to table and stable --- src/mnode/inc/mgmtStable.h | 35 +++++++++++++++++++++++++++++++++++ src/mnode/src/mgmtStable.c | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 src/mnode/inc/mgmtStable.h create mode 100644 src/mnode/src/mgmtStable.c diff --git a/src/mnode/inc/mgmtStable.h b/src/mnode/inc/mgmtStable.h new file mode 100644 index 0000000000..62f71606f7 --- /dev/null +++ b/src/mnode/inc/mgmtStable.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#ifndef TBASE_MNODE_STABLE_H +#define TBASE_MNODE_STABLE_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include +#include "mnode.h" + + + + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/mnode/src/mgmtStable.c b/src/mnode/src/mgmtStable.c new file mode 100644 index 0000000000..28ac58e23c --- /dev/null +++ b/src/mnode/src/mgmtStable.c @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#define _DEFAULT_SOURCE +#include "os.h" + +#include "mnode.h" +#include "mgmtAcct.h" +#include "mgmtGrant.h" +#include "mgmtUtil.h" +#include "mgmtDb.h" +#include "mgmtDnodeInt.h" +#include "mgmtVgroup.h" +#include "mgmtSupertableQuery.h" +#include "mgmtTable.h" +#include "taosmsg.h" +#include "tast.h" +#include "textbuffer.h" +#include "tschemautil.h" +#include "tscompression.h" +#include "tskiplist.h" +#include "tsqlfunction.h" +#include "ttime.h" +#include "tstatus.h" -- GitLab