Streams: RDB saving.

This commit is contained in:
antirez
2017-09-05 13:14:13 +02:00
parent 100d43c1ac
commit 485014cc74
5 changed files with 29 additions and 2 deletions

View File

@ -1655,6 +1655,11 @@ int raxEOF(raxIterator *it) {
return it->flags & RAX_ITER_EOF;
}
/* Return the number of elements inside the radix tree. */
uint64_t raxSize(rax *rax) {
return rax->numele;
}
/* ----------------------------- Introspection ------------------------------ */
/* This function is mostly used for debugging and learning purposes.