forked from hans/Nominatim
sql: fix rank variable type
The rank type needs to match the parameter type of update_place_diameter(). Fixes #1851.
This commit is contained in:
@@ -467,7 +467,7 @@ DECLARE
|
||||
placegeom GEOMETRY;
|
||||
geom GEOMETRY;
|
||||
diameter FLOAT;
|
||||
rank INTEGER;
|
||||
rank SMALLINT;
|
||||
BEGIN
|
||||
UPDATE placex SET indexed_status = 2 WHERE place_id = placeid;
|
||||
SELECT geometry, rank_search FROM placex WHERE place_id = placeid INTO placegeom, rank;
|
||||
|
||||
Reference in New Issue
Block a user