@ -363,9 +363,9 @@ class TableConstructor : public Constructor {
builder . reset ( ioptions . table_factory - > NewTableBuilder (
builder . reset ( ioptions . table_factory - > NewTableBuilder (
TableBuilderOptions ( ioptions , moptions , internal_comparator ,
TableBuilderOptions ( ioptions , moptions , internal_comparator ,
& int_tbl_prop_collector_factories ,
& int_tbl_prop_collector_factories ,
options . compression , options . sample_for_ compression,
options . compression , options . compression_opts ,
options . compression_opts , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name ,
column_family_name , level_ ) ,
level_ ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
file_writer_ . get ( ) ) ) ;
file_writer_ . get ( ) ) ) ;
@ -3325,9 +3325,8 @@ TEST_P(BlockBasedTableTest, NoFileChecksum) {
builder . reset ( ioptions . table_factory - > NewTableBuilder (
builder . reset ( ioptions . table_factory - > NewTableBuilder (
TableBuilderOptions ( ioptions , moptions , * comparator ,
TableBuilderOptions ( ioptions , moptions , * comparator ,
& int_tbl_prop_collector_factories ,
& int_tbl_prop_collector_factories ,
options . compression , options . sample_for_compression ,
options . compression , options . compression_opts ,
options . compression_opts , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , level ) ,
column_family_name , level ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
f . GetFileWriter ( ) ) ) ;
f . GetFileWriter ( ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
@ -3364,9 +3363,8 @@ TEST_P(BlockBasedTableTest, Crc32cFileChecksum) {
builder . reset ( ioptions . table_factory - > NewTableBuilder (
builder . reset ( ioptions . table_factory - > NewTableBuilder (
TableBuilderOptions ( ioptions , moptions , * comparator ,
TableBuilderOptions ( ioptions , moptions , * comparator ,
& int_tbl_prop_collector_factories ,
& int_tbl_prop_collector_factories ,
options . compression , options . sample_for_compression ,
options . compression , options . compression_opts ,
options . compression_opts , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , level ) ,
column_family_name , level ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
f . GetFileWriter ( ) ) ) ;
f . GetFileWriter ( ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
@ -3413,10 +3411,10 @@ TEST_F(PlainTableTest, BasicPlainTableProperties) {
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 (
TableBuilderOptions (
TableBuilderOptions ( ioptions , moptions , ikc ,
ioptions , moptions , ikc , & int_tbl_prop_collector_factories ,
& int_tbl_prop_collector_factories , kNoCompression ,
kNoCompression , 0 /* sample_for_compression */ , CompressionOptions ( ) ,
CompressionOptions ( ) , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , unknown_level ) ,
column_family_name , unknown_level ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
file_writer . get ( ) ) ) ;
file_writer . get ( ) ) ) ;
@ -3470,10 +3468,10 @@ TEST_F(PlainTableTest, NoFileChecksum) {
f . CreateWriteableFile ( ) ;
f . CreateWriteableFile ( ) ;
std : : unique_ptr < TableBuilder > builder ( factory . NewTableBuilder (
std : : unique_ptr < TableBuilder > builder ( factory . NewTableBuilder (
TableBuilderOptions (
TableBuilderOptions ( ioptions , moptions , ikc ,
ioptions , moptions , ikc , & int_tbl_prop_collector_factories ,
& int_tbl_prop_collector_factories , kNoCompression ,
kNoCompression , 0 /* sample_for_compression */ , CompressionOptions ( ) ,
CompressionOptions ( ) , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , unknown_level ) ,
column_family_name , unknown_level ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
f . GetFileWriter ( ) ) ) ;
f . GetFileWriter ( ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
@ -3512,10 +3510,10 @@ TEST_F(PlainTableTest, Crc32cFileChecksum) {
f . SetFileChecksumGenerator ( checksum_crc32c_gen1 . release ( ) ) ;
f . SetFileChecksumGenerator ( checksum_crc32c_gen1 . release ( ) ) ;
std : : unique_ptr < TableBuilder > builder ( factory . NewTableBuilder (
std : : unique_ptr < TableBuilder > builder ( factory . NewTableBuilder (
TableBuilderOptions (
TableBuilderOptions ( ioptions , moptions , ikc ,
ioptions , moptions , ikc , & int_tbl_prop_collector_factories ,
& int_tbl_prop_collector_factories , kNoCompression ,
kNoCompression , 0 /* sample_for_compression */ , CompressionOptions ( ) ,
CompressionOptions ( ) , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , unknown_level ) ,
column_family_name , unknown_level ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
f . GetFileWriter ( ) ) ) ;
f . GetFileWriter ( ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
ASSERT_OK ( f . ResetTableBuilder ( std : : move ( builder ) ) ) ;
@ -4081,8 +4079,8 @@ TEST_P(BlockBasedTableTest, DISABLED_TableWithGlobalSeqno) {
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 ,
& int_tbl_prop_collector_factories , kNoCompression ,
& int_tbl_prop_collector_factories , kNoCompression ,
0 /* sample_for_compression */ , CompressionOptions ( ) ,
CompressionOptions ( ) , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , - 1 ) ,
column_family_name , - 1 ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
file_writer . get ( ) ) ) ;
file_writer . get ( ) ) ) ;
@ -4267,8 +4265,8 @@ TEST_P(BlockBasedTableTest, BlockAlignTest) {
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 ,
& int_tbl_prop_collector_factories , kNoCompression ,
& int_tbl_prop_collector_factories , kNoCompression ,
0 /* sample_for_compression */ , CompressionOptions ( ) ,
CompressionOptions ( ) , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , - 1 ) ,
column_family_name , - 1 ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
file_writer . get ( ) ) ) ;
file_writer . get ( ) ) ) ;
@ -4362,8 +4360,8 @@ TEST_P(BlockBasedTableTest, PropertiesBlockRestartPointTest) {
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 ,
& int_tbl_prop_collector_factories , kNoCompression ,
& int_tbl_prop_collector_factories , kNoCompression ,
0 /* sample_for_compression */ , CompressionOptions ( ) ,
CompressionOptions ( ) , false /* skip_filters */ ,
false /* skip_filters */ , column_family_name , - 1 ) ,
column_family_name , - 1 ) ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
TablePropertiesCollectorFactory : : Context : : kUnknownColumnFamily ,
file_writer . get ( ) ) ) ;
file_writer . get ( ) ) ) ;