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