Merge pull request #24051 from taosdata/fix/TD-27839-3.0
enh: add check and reduce offset dependencies in lib
This commit is contained in:
commit
7803a717c2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -70,6 +70,21 @@ typedef struct SUdfdData {
|
||||||
int32_t dnodeId;
|
int32_t dnodeId;
|
||||||
} SUdfdData;
|
} SUdfdData;
|
||||||
|
|
||||||
|
#ifndef TD_MODULE_OPTIMIZE
|
||||||
|
typedef struct SDnode {
|
||||||
|
int8_t once;
|
||||||
|
bool stop;
|
||||||
|
EDndRunStatus status;
|
||||||
|
SStartupInfo startup;
|
||||||
|
SDnodeData data;
|
||||||
|
SUdfdData udfdData;
|
||||||
|
TdThreadMutex mutex;
|
||||||
|
TdFilePtr lockfile;
|
||||||
|
STfs *pTfs;
|
||||||
|
SMgmtWrapper wrappers[NODE_END];
|
||||||
|
SDnodeTrans trans;
|
||||||
|
} SDnode;
|
||||||
|
#else
|
||||||
typedef struct SDnode {
|
typedef struct SDnode {
|
||||||
int8_t once;
|
int8_t once;
|
||||||
bool stop;
|
bool stop;
|
||||||
|
@ -83,6 +98,7 @@ typedef struct SDnode {
|
||||||
STfs *pTfs;
|
STfs *pTfs;
|
||||||
SMgmtWrapper wrappers[NODE_END];
|
SMgmtWrapper wrappers[NODE_END];
|
||||||
} SDnode;
|
} SDnode;
|
||||||
|
#endif
|
||||||
|
|
||||||
// dmEnv.c
|
// dmEnv.c
|
||||||
SDnode *dmInstance();
|
SDnode *dmInstance();
|
||||||
|
|
Loading…
Reference in New Issue