tstatus.h

This commit is contained in:
slguan 2020-02-10 21:34:09 +08:00
parent e65cd29640
commit 4714101918
3 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,9 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
INCLUDE_DIRECTORIES(${TD_OS_DIR}/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
AUX_SOURCE_DIRECTORY(src SRC)

View File

@ -16,11 +16,13 @@
#ifndef TDENGINE_TSTATUS_H
#define TDENGINE_TSTATUS_H
#include "taoserror.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
#include "taoserror.h"
enum _TSDB_VG_STATUS {
TSDB_VG_STATUS_READY = TSDB_CODE_SUCCESS,

View File

@ -14,8 +14,7 @@
*/
#include "taosmsg.h"
#include "tsdb.h"
#include "vnodeStatus.h"
#include "tstatus.h"
const char* taosGetVgroupStatusStr(int32_t vgroupStatus) {
switch (vgroupStatus) {