This commit is contained in:
Hongze Cheng 2022-09-02 17:17:46 +08:00
parent 8329284a45
commit 696df47f05
2 changed files with 8 additions and 7 deletions

View File

@ -592,6 +592,14 @@ struct STsdbReadSnap {
STsdbFS fs;
};
typedef struct {
TdFilePtr pFD;
int32_t szPage;
int32_t nBuf;
uint8_t *pBuf;
int64_t pgno;
} STsdbFD;
struct SDataFWriter {
STsdb *pTsdb;
SDFileSet wSet;

View File

@ -15,13 +15,6 @@
#include "tsdb.h"
// =============== 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) {
int32_t code = 0;