add keep in walCfg

This commit is contained in:
Jeff Tao 2020-04-11 16:34:40 +08:00
parent 32bdf91387
commit 0743d310d3
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ typedef struct {
typedef struct { typedef struct {
int8_t commitLog; // commitLog int8_t commitLog; // commitLog
int8_t wals; // number of WAL files; int8_t wals; // number of WAL files;
int8_t keep; // keep the wal file when closed
} SWalCfg; } SWalCfg;
typedef void* twalh; // WAL HANDLE typedef void* twalh; // WAL HANDLE