|
|
|
@ -307,12 +307,14 @@ class TableConstructor: public Constructor { |
|
|
|
|
std::vector<std::unique_ptr<IntTblPropCollectorFactory>> |
|
|
|
|
int_tbl_prop_collector_factories; |
|
|
|
|
std::string column_family_name; |
|
|
|
|
int unknown_level = -1; |
|
|
|
|
builder.reset(ioptions.table_factory->NewTableBuilder( |
|
|
|
|
TableBuilderOptions(ioptions, internal_comparator, |
|
|
|
|
&int_tbl_prop_collector_factories, |
|
|
|
|
options.compression, CompressionOptions(), |
|
|
|
|
nullptr /* compression_dict */, |
|
|
|
|
false /* skip_filters */, column_family_name), |
|
|
|
|
false /* skip_filters */, column_family_name, |
|
|
|
|
unknown_level), |
|
|
|
|
TablePropertiesCollectorFactory::Context::kUnknownColumnFamily, |
|
|
|
|
file_writer_.get())); |
|
|
|
|
|
|
|
|
@ -2210,11 +2212,13 @@ TEST_F(PlainTableTest, BasicPlainTableProperties) { |
|
|
|
|
std::vector<std::unique_ptr<IntTblPropCollectorFactory>> |
|
|
|
|
int_tbl_prop_collector_factories; |
|
|
|
|
std::string column_family_name; |
|
|
|
|
int unknown_level = -1; |
|
|
|
|
std::unique_ptr<TableBuilder> builder(factory.NewTableBuilder( |
|
|
|
|
TableBuilderOptions(ioptions, ikc, &int_tbl_prop_collector_factories, |
|
|
|
|
kNoCompression, CompressionOptions(), |
|
|
|
|
nullptr /* compression_dict */, |
|
|
|
|
false /* skip_filters */, column_family_name), |
|
|
|
|
false /* skip_filters */, column_family_name, |
|
|
|
|
unknown_level), |
|
|
|
|
TablePropertiesCollectorFactory::Context::kUnknownColumnFamily, |
|
|
|
|
file_writer.get())); |
|
|
|
|
|
|
|
|
|