[mapserver-commits] [mapserver/mapserver] e3c6d4: OGR GPKG: fix potential SELECT ambiguity for 'id' ...

Even Rouault noreply at github.com
Mon Sep 9 09:00:45 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: e3c6d479b7a79820882b0f858283f7b8decb39ba
      https://github.com/mapserver/mapserver/commit/e3c6d479b7a79820882b0f858283f7b8decb39ba
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M mapogr.cpp
    A msautotest/wxs/data/test.gpkg
    A msautotest/wxs/expected/wfs_ogr_gpkg_issue_5858.xml
    A msautotest/wxs/wfs_ogr_gpkg.map

  Log Message:
  -----------
  OGR GPKG: fix potential SELECT ambiguity for 'id' column (fixes #5858)

When using a GeoPackage table that has a 'id' column, in some circumstances,
MapServer composes internally a SELECT statement, but fails to prefix the
id column with the table name, which causes an ambiguity when joining with
the spatial index RTree table that has also a id column.


  Commit: 049a4529f49b4fce99f2228c3f0d713ef3761d13
      https://github.com/mapserver/mapserver/commit/049a4529f49b4fce99f2228c3f0d713ef3761d13
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M mapogr.cpp
    A msautotest/wxs/data/test.gpkg
    A msautotest/wxs/expected/wfs_ogr_gpkg_issue_5858.xml
    A msautotest/wxs/wfs_ogr_gpkg.map

  Log Message:
  -----------
  Merge pull request #5860 from rouault/fix_5858

OGR GPKG: fix potential SELECT ambiguity for 'id' column (fixes #5858)


Compare: https://github.com/mapserver/mapserver/compare/0f31eda359c4...049a4529f49b


More information about the mapserver-commits mailing list