[Tile-serving] [openstreetmap/osm2pgsql] Bugfix: Conversion of Lua strings to integers in database (#1108)

Jochen Topf notifications at github.com
Mon Apr 6 15:08:32 UTC 2020


If the string doesn't contain a valid number this will write NULL to
the database instead of 0.

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

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

-- Commit Summary --

  * Bugfix: Conversion of Lua strings to integers in database

-- File Changes --

    M src/output-flex.cpp (42)
    M tests/data/test_output_flex_types.lua (32)
    M tests/test-output-flex-types.cpp (60)

-- Patch Links --

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


More information about the Tile-serving mailing list