@ -2840,7 +2840,6 @@ Status BlockBasedTable::DumpTable(WritableFile* out_file,
" " ) ;
" " ) ;
out_file - > Append ( table_properties - > ToString ( " \n " , " : " ) . c_str ( ) ) ;
out_file - > Append ( table_properties - > ToString ( " \n " , " : " ) . c_str ( ) ) ;
out_file - > Append ( " \n " ) ;
out_file - > Append ( " \n " ) ;
}
// Output Filter blocks
// Output Filter blocks
if ( ! rep_ - > filter & & ! table_properties - > filter_policy_name . empty ( ) ) {
if ( ! rep_ - > filter & & ! table_properties - > filter_policy_name . empty ( ) ) {
@ -2857,8 +2856,8 @@ Status BlockBasedTable::DumpTable(WritableFile* out_file,
Slice dummy_comp_dict ;
Slice dummy_comp_dict ;
BlockFetcher block_fetcher (
BlockFetcher block_fetcher (
rep_ - > file . get ( ) , nullptr /* prefetch_buffer */ , rep_ - > footer ,
rep_ - > file . get ( ) , nullptr /* prefetch_buffer */ , rep_ - > footer ,
ReadOptions ( ) , handle , & block , rep_ - > ioptions , false /*decompress*/ ,
ReadOptions ( ) , handle , & block , rep_ - > ioptions ,
dummy_comp_dict /*compression dict*/ ,
false /*decompress*/ , dummy_comp_dict /*compression dict*/ ,
rep_ - > persistent_cache_options ) ;
rep_ - > persistent_cache_options ) ;
s = block_fetcher . ReadBlockContents ( ) ;
s = block_fetcher . ReadBlockContents ( ) ;
if ( ! s . ok ( ) ) {
if ( ! s . ok ( ) ) {
@ -2870,6 +2869,7 @@ Status BlockBasedTable::DumpTable(WritableFile* out_file,
}
}
}
}
}
}
}
if ( rep_ - > filter ) {
if ( rep_ - > filter ) {
out_file - > Append (
out_file - > Append (
" Filter Details: \n "
" Filter Details: \n "