[TD-682]
This commit is contained in:
parent
29f52213c1
commit
ce7b4e5dc6
|
@ -78,18 +78,18 @@ typedef struct SMnodeObj {
|
||||||
typedef struct STableObj {
|
typedef struct STableObj {
|
||||||
char *tableId;
|
char *tableId;
|
||||||
int8_t type;
|
int8_t type;
|
||||||
int8_t reserved[7];
|
|
||||||
} STableObj;
|
} STableObj;
|
||||||
|
|
||||||
typedef struct SSuperTableObj {
|
typedef struct SSuperTableObj {
|
||||||
STableObj info;
|
STableObj info;
|
||||||
|
int8_t reserved0[3]; // for fill struct STableObj to 4byte align
|
||||||
|
int32_t sversion;
|
||||||
uint64_t uid;
|
uint64_t uid;
|
||||||
int64_t createdTime;
|
int64_t createdTime;
|
||||||
int32_t sversion;
|
|
||||||
int32_t tversion;
|
int32_t tversion;
|
||||||
int32_t numOfColumns;
|
int32_t numOfColumns;
|
||||||
int32_t numOfTags;
|
int32_t numOfTags;
|
||||||
int8_t reserved0[15];
|
int8_t reserved0[3];
|
||||||
int8_t updateEnd[1];
|
int8_t updateEnd[1];
|
||||||
int32_t refCount;
|
int32_t refCount;
|
||||||
int32_t numOfTables;
|
int32_t numOfTables;
|
||||||
|
@ -100,20 +100,20 @@ typedef struct SSuperTableObj {
|
||||||
} SSuperTableObj;
|
} SSuperTableObj;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
STableObj info;
|
STableObj info;
|
||||||
|
int8_t reserved0[3]; // for fill struct STableObj to 4byte align
|
||||||
|
int32_t sversion; //used by normal table
|
||||||
uint64_t uid;
|
uint64_t uid;
|
||||||
uint64_t suid;
|
uint64_t suid;
|
||||||
int64_t createdTime;
|
int64_t createdTime;
|
||||||
int32_t sversion; //used by normal table
|
|
||||||
int32_t numOfColumns; //used by normal table
|
int32_t numOfColumns; //used by normal table
|
||||||
int32_t sid;
|
int32_t sid;
|
||||||
int32_t vgId;
|
int32_t vgId;
|
||||||
int32_t sqlLen;
|
int32_t sqlLen;
|
||||||
int8_t reserved0[3];
|
|
||||||
int8_t updateEnd[1];
|
int8_t updateEnd[1];
|
||||||
int32_t refCount;
|
int8_t reserved1[1];
|
||||||
int16_t nextColId; //used by normal table
|
int16_t nextColId; //used by normal table
|
||||||
int8_t reserved1[2];
|
int32_t refCount;
|
||||||
char* sql; //used by normal table
|
char* sql; //used by normal table
|
||||||
SSchema* schema; //used by normal table
|
SSchema* schema; //used by normal table
|
||||||
SSuperTableObj *superTable;
|
SSuperTableObj *superTable;
|
||||||
|
|
Loading…
Reference in New Issue