@@ -83,22 +83,22 @@ struct options_flat_node_cache
8383 }
8484};
8585
86- struct options_slim_new_format
86+ struct options_slim_legacy_format
8787{
8888 static options_t options (testing::pg::tempdb_t const &tmpdb)
8989 {
9090 options_t o = testing::opt_t ().slim (tmpdb);
91- o.middle_database_format = 2 ;
91+ o.middle_database_format = 1 ;
9292 return o;
9393 }
9494};
9595
96- struct options_slim_new_format_with_flatnodes
96+ struct options_slim_legacy_format_with_flatnodes
9797{
9898 static options_t options (testing::pg::tempdb_t const &tmpdb)
9999 {
100100 options_t o = testing::opt_t ().slim (tmpdb).flatnodes ();
101- o.middle_database_format = 2 ;
101+ o.middle_database_format = 1 ;
102102 return o;
103103 }
104104};
@@ -112,7 +112,7 @@ struct options_ram_optimized
112112};
113113
114114TEMPLATE_TEST_CASE (" middle import" , " " , options_slim_default,
115- options_slim_new_format , options_slim_with_lc_prefix,
115+ options_slim_legacy_format , options_slim_with_lc_prefix,
116116 options_slim_with_uc_prefix, options_slim_with_schema,
117117 options_ram_optimized)
118118{
@@ -367,9 +367,9 @@ static bool no_node(std::shared_ptr<middle_pgsql_t> const &mid, osmid_t id)
367367}
368368
369369TEMPLATE_TEST_CASE (" middle: add, delete and update node" , " " ,
370- options_slim_default, options_slim_new_format ,
370+ options_slim_default, options_slim_legacy_format ,
371371 options_flat_node_cache,
372- options_slim_new_format_with_flatnodes )
372+ options_slim_legacy_format_with_flatnodes )
373373{
374374 auto thread_pool = std::make_shared<thread_pool_t >(1U );
375375
@@ -586,9 +586,9 @@ static bool no_way(std::shared_ptr<middle_pgsql_t> const &mid, osmid_t id)
586586}
587587
588588TEMPLATE_TEST_CASE (" middle: add, delete and update way" , " " ,
589- options_slim_default, options_slim_new_format ,
589+ options_slim_default, options_slim_legacy_format ,
590590 options_flat_node_cache,
591- options_slim_new_format_with_flatnodes )
591+ options_slim_legacy_format_with_flatnodes )
592592{
593593 auto thread_pool = std::make_shared<thread_pool_t >(1U );
594594
@@ -739,8 +739,8 @@ TEMPLATE_TEST_CASE("middle: add, delete and update way", "",
739739}
740740
741741TEMPLATE_TEST_CASE (" middle: add way with attributes" , " " , options_slim_default,
742- options_slim_new_format , options_flat_node_cache,
743- options_slim_new_format_with_flatnodes )
742+ options_slim_legacy_format , options_flat_node_cache,
743+ options_slim_legacy_format_with_flatnodes )
744744{
745745 auto thread_pool = std::make_shared<thread_pool_t >(1U );
746746
@@ -840,9 +840,9 @@ static bool no_relation(std::shared_ptr<middle_pgsql_t> const &mid, osmid_t id)
840840}
841841
842842TEMPLATE_TEST_CASE (" middle: add, delete and update relation" , " " ,
843- options_slim_default, options_slim_new_format ,
843+ options_slim_default, options_slim_legacy_format ,
844844 options_flat_node_cache,
845- options_slim_new_format_with_flatnodes )
845+ options_slim_legacy_format_with_flatnodes )
846846{
847847 auto thread_pool = std::make_shared<thread_pool_t >(1U );
848848
@@ -993,9 +993,9 @@ TEMPLATE_TEST_CASE("middle: add, delete and update relation", "",
993993}
994994
995995TEMPLATE_TEST_CASE (" middle: add relation with attributes" , " " ,
996- options_slim_default, options_slim_new_format ,
996+ options_slim_default, options_slim_legacy_format ,
997997 options_flat_node_cache,
998- options_slim_new_format_with_flatnodes )
998+ options_slim_legacy_format_with_flatnodes )
999999{
10001000 auto thread_pool = std::make_shared<thread_pool_t >(1U );
10011001
@@ -1042,8 +1042,8 @@ TEMPLATE_TEST_CASE("middle: add relation with attributes", "",
10421042}
10431043
10441044TEMPLATE_TEST_CASE (" middle: change nodes in way" , " " , options_slim_default,
1045- options_slim_new_format , options_flat_node_cache,
1046- options_slim_new_format_with_flatnodes )
1045+ options_slim_legacy_format , options_flat_node_cache,
1046+ options_slim_legacy_format_with_flatnodes )
10471047{
10481048 auto thread_pool = std::make_shared<thread_pool_t >(1U );
10491049
@@ -1198,8 +1198,8 @@ TEMPLATE_TEST_CASE("middle: change nodes in way", "", options_slim_default,
11981198}
11991199
12001200TEMPLATE_TEST_CASE (" middle: change nodes in relation" , " " , options_slim_default,
1201- options_slim_new_format , options_flat_node_cache,
1202- options_slim_new_format_with_flatnodes )
1201+ options_slim_legacy_format , options_flat_node_cache,
1202+ options_slim_legacy_format_with_flatnodes )
12031203{
12041204 auto thread_pool = std::make_shared<thread_pool_t >(1U );
12051205
0 commit comments