fix(lsm): properly calculate db file size
This commit is contained in:
parent
3952496378
commit
7c938d592e
2 changed files with 15 additions and 4 deletions
|
|
@ -19,6 +19,8 @@
|
|||
} \
|
||||
}
|
||||
|
||||
#define LSM_MAX(x, y) ((x) > (y) ? (x) : (y))
|
||||
|
||||
typedef enum lsm_error {
|
||||
lsm_error_ok = 0,
|
||||
lsm_error_failed_alloc = 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue