more
This commit is contained in:
parent
8329284a45
commit
696df47f05
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue