fix(lsm): store data len in db; fix bug
This commit is contained in:
parent
ef33825b7b
commit
9c03a36aa2
5 changed files with 25 additions and 3 deletions
|
|
@ -91,6 +91,14 @@ typedef struct lsm_store lsm_store;
|
|||
*/
|
||||
lsm_error lsm_store_init(lsm_store **ptr);
|
||||
|
||||
/**
|
||||
* Return how many elements are stored in the trie.
|
||||
*
|
||||
* @param store store to use
|
||||
* @return how many elements are in the store
|
||||
*/
|
||||
uint64_t lsm_store_size(lsm_store *store);
|
||||
|
||||
/**
|
||||
* Open the given database file and load it into a new store object.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue