Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C api: human-readable statistics #638

Merged
merged 2 commits into from
Jun 17, 2015
Merged

Conversation

HolodovAlexander
Copy link

C-wrapper for ascii statistics

@@ -601,6 +601,7 @@ extern void rocksdb_options_set_max_grandparent_overlap_factor(
extern void rocksdb_options_set_max_bytes_for_level_multiplier_additional(
rocksdb_options_t*, int* level_values, size_t num_levels);
extern void rocksdb_options_enable_statistics(rocksdb_options_t*);
extern char *rocksdb_options_statistics_get_string(rocksdb_options_t *opt);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you comment on the fact that user has to free the resulting pointer?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

igorcanadi added a commit that referenced this pull request Jun 17, 2015
C api: human-readable statistics
@igorcanadi igorcanadi merged commit 4716ab4 into facebook:master Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants