chore: remove obsolote code
This commit is contained in:
parent
fa7a09589e
commit
e2fcf79089
|
@ -70,7 +70,6 @@ typedef struct SUdfdData {
|
||||||
int32_t dnodeId;
|
int32_t dnodeId;
|
||||||
} SUdfdData;
|
} SUdfdData;
|
||||||
|
|
||||||
#ifndef TD_MODULE_OPTIMIZE
|
|
||||||
typedef struct SDnode {
|
typedef struct SDnode {
|
||||||
int8_t once;
|
int8_t once;
|
||||||
bool stop;
|
bool stop;
|
||||||
|
@ -84,21 +83,6 @@ typedef struct SDnode {
|
||||||
SMgmtWrapper wrappers[NODE_END];
|
SMgmtWrapper wrappers[NODE_END];
|
||||||
SDnodeTrans trans;
|
SDnodeTrans trans;
|
||||||
} SDnode;
|
} SDnode;
|
||||||
#else
|
|
||||||
typedef struct SDnode {
|
|
||||||
int8_t once;
|
|
||||||
bool stop;
|
|
||||||
EDndRunStatus status;
|
|
||||||
SStartupInfo startup;
|
|
||||||
SDnodeTrans trans;
|
|
||||||
SUdfdData udfdData;
|
|
||||||
TdThreadMutex mutex;
|
|
||||||
TdFilePtr lockfile;
|
|
||||||
SDnodeData data;
|
|
||||||
STfs *pTfs;
|
|
||||||
SMgmtWrapper wrappers[NODE_END];
|
|
||||||
} SDnode;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// dmEnv.c
|
// dmEnv.c
|
||||||
SDnode *dmInstance();
|
SDnode *dmInstance();
|
||||||
|
|
Loading…
Reference in New Issue