@leijurv commented on this pull request.


> +        CHECK(std::strcmp(node.tags()["name"], "Blue") == 0);
+    };
+
+    {
+        auto mid = std::make_shared<middle_pgsql_t>(thread_pool, &options);
+        mid->start();
+
+        mid->node(node10);
+        mid->after_nodes();
+        mid->after_ways();
+        mid->after_relations();
+
+        check(mid);
+    }
+
+    // From now on use append mode to not destroy the data we just added.

Whoops sorry. Copied from 
https://github.com/leijurv/osm2pgsql/blob/2eac1c0382c7ba6735319c2ba957b00356349d82/tests/test-middle.cpp#L823
 and 
https://github.com/leijurv/osm2pgsql/blob/2eac1c0382c7ba6735319c2ba957b00356349d82/tests/test-middle.cpp#L1077

Removed now 
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2501/changes/98430ad1ae7dbbdee24cbea3ea10d4abab7bd369

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2501#discussion_r4106475030
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2501/review/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to