]> git.openstreetmap.org Git - nominatim.git/commit
fix bug with keeping linking on updates
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 23 May 2022 08:11:28 +0000 (10:11 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 23 May 2022 08:55:10 +0000 (10:55 +0200)
commit1d203fdb3c48592c3a72b91c29b7d92f64253c8c
treef865d1ffc1bafaf0124f1711883416d63901cc16
parent4654701c104a0b888773afe9aee706de023b6a2b
fix bug with keeping linking on updates

When moving the finding of linked places to the precomputation stage,
it was also moved before the statement where the linked_place_id was
removed from the linkee. The result was that the current linkee was
excluded when looking for a linked place on updates because it was
still linked to the boundary to be updated.

Fixed by allowing to either keep the linkage or change to an unlinked
place.
lib-sql/functions/placex_triggers.sql
test/bdd/db/update/linked_places.feature