mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 10:57:58 +00:00
Make SQL debug statements execute again
There were some old variable names used that are no longer valid. Either fix them or remove the statement completely. Fixes #1907.
This commit is contained in:
@@ -237,7 +237,7 @@ BEGIN
|
||||
IF word_ids is not null THEN
|
||||
parent_place_id := getNearestNamedRoadPlaceId(partition, centroid, word_ids);
|
||||
IF parent_place_id is not null THEN
|
||||
--DEBUG: RAISE WARNING 'Get parent form addr:street: %', parent.place_id;
|
||||
--DEBUG: RAISE WARNING 'Get parent form addr:street: %', parent_place_id;
|
||||
RETURN parent_place_id;
|
||||
END IF;
|
||||
END IF;
|
||||
@@ -249,7 +249,7 @@ BEGIN
|
||||
IF word_ids is not null THEN
|
||||
parent_place_id := getNearestNamedPlacePlaceId(partition, centroid, word_ids);
|
||||
IF parent_place_id is not null THEN
|
||||
--DEBUG: RAISE WARNING 'Get parent form addr:place: %', parent.place_id;
|
||||
--DEBUG: RAISE WARNING 'Get parent form addr:place: %', parent_place_id;
|
||||
RETURN parent_place_id;
|
||||
END IF;
|
||||
END IF;
|
||||
@@ -322,7 +322,7 @@ BEGIN
|
||||
|
||||
ELSEIF ST_GeometryType(geometry) = 'ST_Point' THEN
|
||||
radius := near_feature_rank_distance(rank_search);
|
||||
--DEBUG: RAISE WARNING 'adding % diameter %', place_id, diameter;
|
||||
--DEBUG: RAISE WARNING 'adding % radius %', place_id, radius;
|
||||
|
||||
-- Create a bounding box with an extent computed from the radius (in meters).
|
||||
secgeo := ST_Envelope(ST_Collect(
|
||||
|
||||
Reference in New Issue
Block a user