mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-22 21:28:10 +03:00
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:
parent
fa8b16e7e7
commit
2edefd9e80
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user