[Tile-serving] [openstreetmap/osm2pgsql] Fix threading problem flex table take2 (#1082)

Jochen Topf notifications at github.com
Wed Feb 26 17:05:13 UTC 2020


Fixes problem where several threads were using the same db connection objects.

Fixes #1080
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1082

-- Commit Summary --

  * Fix: Use separate db connections in threads
  * Move m_target from flex_table_t into table_connection_t
  * Clean up database connection code in flex backend
  * Do not store append flag in table_connection_t

-- File Changes --

    M src/db-copy.hpp (5)
    M src/flex-table.cpp (146)
    M src/flex-table.hpp (111)
    M src/output-flex.cpp (108)
    M src/output-flex.hpp (12)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1082.patch
https://github.com/openstreetmap/osm2pgsql/pull/1082.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1082
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200226/e3643e55/attachment.htm>


More information about the Tile-serving mailing list