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

Jochen Topf notifications at github.com
Wed Feb 26 09:56:47 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/1081

-- Commit Summary --

  * Move everything related to copy_gr out of the flex_table_t class
  * Clone flex_table_t objects when cloning the flex_output
  * Clean up code related to database connection handling

-- File Changes --

    M src/flex-table.cpp (27)
    M src/flex-table.hpp (52)
    M src/output-flex.cpp (65)
    M src/output-flex.hpp (9)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1081.patch
https://github.com/openstreetmap/osm2pgsql/pull/1081.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/1081
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200226/c897827c/attachment.htm>


More information about the Tile-serving mailing list