提交 85907bc2 编写于 作者: H Hongze Cheng

more work

上级 16f55635
...@@ -62,6 +62,8 @@ typedef struct SRowIter SRowIter; ...@@ -62,6 +62,8 @@ typedef struct SRowIter SRowIter;
typedef struct STsdbFS STsdbFS; typedef struct STsdbFS STsdbFS;
typedef struct SRowMerger SRowMerger; typedef struct SRowMerger SRowMerger;
typedef struct STsdbReadSnap STsdbReadSnap; typedef struct STsdbReadSnap STsdbReadSnap;
typedef struct SBlockInfo SBlockInfo;
typedef struct SSmaInfo SSmaInfo;
#define TSDB_MAX_SUBBLOCKS 8 #define TSDB_MAX_SUBBLOCKS 8
#define TSDB_FHDR_SIZE 512 #define TSDB_FHDR_SIZE 512
...@@ -411,16 +413,16 @@ typedef struct { ...@@ -411,16 +413,16 @@ typedef struct {
uint8_t **ppData; uint8_t **ppData;
} SBlockCol; } SBlockCol;
typedef struct { struct SBlockInfo {
int64_t offset; // block data offset int64_t offset; // block data offset
int32_t szBlock; int32_t szBlock;
int32_t szKey; int32_t szKey;
} SBlockInfo; };
typedef struct { struct SSmaInfo {
int64_t offset; int64_t offset;
int32_t size; int32_t size;
} SSmaInfo; };
struct SBlock { struct SBlock {
TSDBKEY minKey; TSDBKEY minKey;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册