提交 696df47f 编写于 作者: H Hongze Cheng

more

上级 8329284a
...@@ -592,6 +592,14 @@ struct STsdbReadSnap { ...@@ -592,6 +592,14 @@ struct STsdbReadSnap {
STsdbFS fs; STsdbFS fs;
}; };
typedef struct {
TdFilePtr pFD;
int32_t szPage;
int32_t nBuf;
uint8_t *pBuf;
int64_t pgno;
} STsdbFD;
struct SDataFWriter { struct SDataFWriter {
STsdb *pTsdb; STsdb *pTsdb;
SDFileSet wSet; SDFileSet wSet;
......
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
#include "tsdb.h" #include "tsdb.h"
// =============== PAGE-WISE FILE =============== // =============== PAGE-WISE FILE ===============
typedef struct {
TdFilePtr pFD;
int32_t szPage;
int32_t nBuf;
uint8_t *pBuf;
int64_t pgno;
} STsdbFD;
static int32_t tsdbOpenFile(const char *path, int32_t opt, STsdbFD *pFD) { static int32_t tsdbOpenFile(const char *path, int32_t opt, STsdbFD *pFD) {
int32_t code = 0; int32_t code = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册