diff options
author | Leif Walsh <leif@tokutek.com> | 2012-12-07 00:01:22 +0000 |
---|---|---|
committer | Yoni Fogel <yoni@tokutek.com> | 2013-04-17 00:01:21 -0400 |
commit | 7ff640e046154a432ab549cad3412bfe895b928f (patch) | |
tree | 7e6597a4e1f8b450c69c31b67e1c9ab896ce697c /ft/ft.cc | |
parent | 0ecaed8724f2a5f107f61e526c61f432f0df8933 (diff) | |
download | mariadb-git-7ff640e046154a432ab549cad3412bfe895b928f.tar.gz |
closes #5757 merge information_schema.tokudb_fractal_tree_info and information_schema.tokudb_fractal_tree_block_map to main
git-svn-id: file:///svn/toku/tokudb@50863 c7de825b-a66e-492c-adef-691d508d4ae1
Diffstat (limited to 'ft/ft.cc')
-rw-r--r-- | ft/ft.cc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -770,6 +770,16 @@ toku_ft_stat64 (FT ft, struct ftstat64_s *s) { s->verify_time_sec = ft->h->time_of_last_verification; } +void +toku_ft_get_fractal_tree_info64(FT ft, struct ftinfo64 *s) { + toku_blocktable_get_info64(ft->blocktable, s); +} + +int toku_ft_iterate_fractal_tree_block_map(FT ft, int (*iter)(uint64_t,int64_t,int64_t,int64_t,int64_t,void*), void *iter_extra) { + uint64_t this_checkpoint_count = ft->h->checkpoint_count; + return toku_blocktable_iterate_translation_tables(ft->blocktable, this_checkpoint_count, iter, iter_extra); +} + void toku_ft_update_descriptor(FT ft, DESCRIPTOR d) // Effect: Changes the descriptor in a tree (log the change, make sure it makes it to disk eventually). |