@ -352,8 +352,7 @@ class TableConstructor : public Constructor {
file_writer_ . reset ( new WritableFileWriter (
file_writer_ . reset ( new WritableFileWriter (
std : : move ( sink ) , " " /* don't care */ , FileOptions ( ) ) ) ;
std : : move ( sink ) , " " /* don't care */ , FileOptions ( ) ) ) ;
std : : unique_ptr < TableBuilder > builder ;
std : : unique_ptr < TableBuilder > builder ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
if ( largest_seqno_ ! = 0 ) {
if ( largest_seqno_ ! = 0 ) {
// Pretend that it's an external file written by SstFileWriter.
// Pretend that it's an external file written by SstFileWriter.
@ -3314,8 +3313,7 @@ TEST_P(BlockBasedTableTest, NoFileChecksum) {
std : : unique_ptr < InternalKeyComparator > comparator (
std : : unique_ptr < InternalKeyComparator > comparator (
new InternalKeyComparator ( BytewiseComparator ( ) ) ) ;
new InternalKeyComparator ( BytewiseComparator ( ) ) ) ;
int level = 0 ;
int level = 0 ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
std : : string column_family_name ;
std : : string column_family_name ;
FileChecksumTestHelper f ( true ) ;
FileChecksumTestHelper f ( true ) ;
@ -3345,8 +3343,7 @@ TEST_P(BlockBasedTableTest, Crc32cFileChecksum) {
std : : unique_ptr < InternalKeyComparator > comparator (
std : : unique_ptr < InternalKeyComparator > comparator (
new InternalKeyComparator ( BytewiseComparator ( ) ) ) ;
new InternalKeyComparator ( BytewiseComparator ( ) ) ) ;
int level = 0 ;
int level = 0 ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
std : : string column_family_name ;
std : : string column_family_name ;
FileChecksumGenContext gen_context ;
FileChecksumGenContext gen_context ;
@ -3403,8 +3400,7 @@ TEST_F(PlainTableTest, BasicPlainTableProperties) {
const ImmutableOptions ioptions ( options ) ;
const ImmutableOptions ioptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
InternalKeyComparator ikc ( options . comparator ) ;
InternalKeyComparator ikc ( options . comparator ) ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
std : : string column_family_name ;
std : : string column_family_name ;
int unknown_level = - 1 ;
int unknown_level = - 1 ;
std : : unique_ptr < TableBuilder > builder ( factory . NewTableBuilder (
std : : unique_ptr < TableBuilder > builder ( factory . NewTableBuilder (
@ -3456,8 +3452,7 @@ TEST_F(PlainTableTest, NoFileChecksum) {
const ImmutableOptions ioptions ( options ) ;
const ImmutableOptions ioptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
InternalKeyComparator ikc ( options . comparator ) ;
InternalKeyComparator ikc ( options . comparator ) ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
std : : string column_family_name ;
std : : string column_family_name ;
int unknown_level = - 1 ;
int unknown_level = - 1 ;
FileChecksumTestHelper f ( true ) ;
FileChecksumTestHelper f ( true ) ;
@ -3490,8 +3485,7 @@ TEST_F(PlainTableTest, Crc32cFileChecksum) {
const ImmutableOptions ioptions ( options ) ;
const ImmutableOptions ioptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
InternalKeyComparator ikc ( options . comparator ) ;
InternalKeyComparator ikc ( options . comparator ) ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
std : : string column_family_name ;
std : : string column_family_name ;
int unknown_level = - 1 ;
int unknown_level = - 1 ;
@ -4063,8 +4057,7 @@ TEST_P(BlockBasedTableTest, DISABLED_TableWithGlobalSeqno) {
const ImmutableOptions ioptions ( options ) ;
const ImmutableOptions ioptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
InternalKeyComparator ikc ( options . comparator ) ;
InternalKeyComparator ikc ( options . comparator ) ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories . emplace_back (
int_tbl_prop_collector_factories . emplace_back (
new SstFileWriterPropertiesCollectorFactory ( 2 /* version */ ,
new SstFileWriterPropertiesCollectorFactory ( 2 /* version */ ,
0 /* global_seqno*/ ) ) ;
0 /* global_seqno*/ ) ) ;
@ -4251,8 +4244,7 @@ TEST_P(BlockBasedTableTest, BlockAlignTest) {
const ImmutableOptions ioptions ( options ) ;
const ImmutableOptions ioptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
InternalKeyComparator ikc ( options . comparator ) ;
InternalKeyComparator ikc ( options . comparator ) ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
std : : string column_family_name ;
std : : string column_family_name ;
std : : unique_ptr < TableBuilder > builder ( options . table_factory - > NewTableBuilder (
std : : unique_ptr < TableBuilder > builder ( options . table_factory - > NewTableBuilder (
TableBuilderOptions ( ioptions , moptions , ikc ,
TableBuilderOptions ( ioptions , moptions , ikc ,
@ -4344,8 +4336,7 @@ TEST_P(BlockBasedTableTest, PropertiesBlockRestartPointTest) {
const ImmutableOptions ioptions ( options ) ;
const ImmutableOptions ioptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
const MutableCFOptions moptions ( options ) ;
InternalKeyComparator ikc ( options . comparator ) ;
InternalKeyComparator ikc ( options . comparator ) ;
std : : vector < std : : unique_ptr < IntTblPropCollectorFactory > >
IntTblPropCollectorFactories int_tbl_prop_collector_factories ;
int_tbl_prop_collector_factories ;
std : : string column_family_name ;
std : : string column_family_name ;
std : : unique_ptr < TableBuilder > builder ( options . table_factory - > NewTableBuilder (
std : : unique_ptr < TableBuilder > builder ( options . table_factory - > NewTableBuilder (