more work

This commit is contained in:
Hongze Cheng 2022-08-06 02:03:20 +00:00
parent 16f556354a
commit 85907bc269
1 changed files with 6 additions and 4 deletions

View File

@ -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 {
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;