schema_tables: Make make_scylla_tables_mutation() visible
For tests.
This commit is contained in:
@@ -1522,7 +1522,7 @@ static void add_dropped_column_to_schema_mutation(schema_ptr table, const sstrin
|
||||
m.set_clustered_cell(ckey, "type", expand_user_type(column.type)->as_cql3_type()->to_string(), timestamp);
|
||||
}
|
||||
|
||||
static mutation make_scylla_tables_mutation(schema_ptr table, api::timestamp_type timestamp) {
|
||||
mutation make_scylla_tables_mutation(schema_ptr table, api::timestamp_type timestamp) {
|
||||
schema_ptr s = tables();
|
||||
auto pkey = partition_key::from_singular(*s, table->ks_name());
|
||||
auto ckey = clustering_key::from_singular(*s, table->cf_name());
|
||||
|
||||
@@ -165,6 +165,7 @@ view_ptr create_view_from_mutations(schema_mutations, std::experimental::optiona
|
||||
future<std::vector<view_ptr>> create_views_from_schema_partition(distributed<service::storage_proxy>& proxy, const schema_result::mapped_type& result);
|
||||
|
||||
schema_mutations make_schema_mutations(schema_ptr s, api::timestamp_type timestamp, bool with_columns);
|
||||
mutation make_scylla_tables_mutation(schema_ptr, api::timestamp_type timestamp);
|
||||
|
||||
void add_table_or_view_to_schema_mutation(schema_ptr view, api::timestamp_type timestamp, bool with_columns, std::vector<mutation>& mutations);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user