Add rocksdb_livefiles_column_family_name interface to C API
This commit is contained in:
parent
a19de78da5
commit
c3929f74cf
6
db/c.cc
6
db/c.cc
@ -3618,6 +3618,12 @@ const char* rocksdb_livefiles_name(
|
||||
return lf->rep[index].name.c_str();
|
||||
}
|
||||
|
||||
const char* rocksdb_livefiles_column_family_name(
|
||||
const rocksdb_livefiles_t* lf,
|
||||
int index) {
|
||||
return lf->rep[index].column_family_name.c_str();
|
||||
}
|
||||
|
||||
int rocksdb_livefiles_level(
|
||||
const rocksdb_livefiles_t* lf,
|
||||
int index) {
|
||||
|
@ -1452,6 +1452,8 @@ extern ROCKSDB_LIBRARY_API int rocksdb_livefiles_count(
|
||||
const rocksdb_livefiles_t*);
|
||||
extern ROCKSDB_LIBRARY_API const char* rocksdb_livefiles_name(
|
||||
const rocksdb_livefiles_t*, int index);
|
||||
extern ROCKSDB_LIBRARY_API const char* rocksdb_livefiles_column_family_name(
|
||||
const rocksdb_livefiles_t*, int index);
|
||||
extern ROCKSDB_LIBRARY_API int rocksdb_livefiles_level(
|
||||
const rocksdb_livefiles_t*, int index);
|
||||
extern ROCKSDB_LIBRARY_API size_t
|
||||
|
Loading…
Reference in New Issue
Block a user