[TD-332] fix duplicate type in tsdb
This commit is contained in:
parent
936d9a330d
commit
836d593984
|
@ -214,12 +214,12 @@ typedef struct {
|
||||||
int64_t tombSize; // unused file size
|
int64_t tombSize; // unused file size
|
||||||
int32_t totalBlocks;
|
int32_t totalBlocks;
|
||||||
int32_t totalSubBlocks;
|
int32_t totalSubBlocks;
|
||||||
} SFileInfo;
|
} STsdbFileInfo;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int fd;
|
int fd;
|
||||||
char fname[128];
|
char fname[128];
|
||||||
SFileInfo info;
|
STsdbFileInfo info;
|
||||||
} SFile;
|
} SFile;
|
||||||
|
|
||||||
#define TSDB_IS_FILE_OPENED(f) ((f)->fd != -1)
|
#define TSDB_IS_FILE_OPENED(f) ((f)->fd != -1)
|
||||||
|
@ -350,7 +350,7 @@ SFileGroup *tsdbSearchFGroup(STsdbFileH *pFileH, int fid);
|
||||||
void tsdbGetKeyRangeOfFileId(int32_t daysPerFile, int8_t precision, int32_t fileId, TSKEY *minKey, TSKEY *maxKey);
|
void tsdbGetKeyRangeOfFileId(int32_t daysPerFile, int8_t precision, int32_t fileId, TSKEY *minKey, TSKEY *maxKey);
|
||||||
|
|
||||||
// TSDB repository definition
|
// TSDB repository definition
|
||||||
typedef struct _tsdb_repo {
|
typedef struct STsdbRepo {
|
||||||
char *rootDir;
|
char *rootDir;
|
||||||
// TSDB configuration
|
// TSDB configuration
|
||||||
STsdbCfg config;
|
STsdbCfg config;
|
||||||
|
|
Loading…
Reference in New Issue