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

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


  Branch: refs/heads/cherry-pick-backport-5860-to-branch-7-4-9fce3484-c635-4818-aa7b-5629e9bdb0d1
  Home:   https://github.com/mapserver/mapserver
  Commit: a471b4518beacc55879ac7ce970cadecb7e34d5c
      https://github.com/mapserver/mapserver/commit/a471b4518beacc55879ac7ce970cadecb7e34d5c
  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.




More information about the mapserver-commits mailing list