提交 5c9ff5b7 编写于 作者: H Hongze Cheng

more

上级 68d4eb2c
......@@ -5,8 +5,9 @@ typedef void cache_pool_t;
typedef struct SCacheBlock
{
SCacheBlock *next;
SCacheBlock *prev;
char data[];
} SCacheBlock;
......
......@@ -3,6 +3,9 @@
#include <stdint.h>
/* The row data should in the form of
*/
// ---- Row data interface
typedef struct {
int32_t numOfRows;
......@@ -12,7 +15,12 @@ typedef struct {
// ---- Column data interface
typedef struct {
int32_t numOfPoints;
char *data;
char * data;
} SCData;
typedef struct {
int32_t numOfCols;
SCData **pData;
} SCDataBlock;
#endif // _TD_DATA_H_
#if !defined(_TD_TSDBCACHE_H_)
#define _TD_TSDBCACHE_H_
#include <stdint.h>
#include "cache.h"
typedef struct STSDBCache {
int64_t blockId; // A block ID counter
SCacheBlock *blockList;
} STSDBCache;
#endif // _TD_TSDBCACHE_H_
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册