mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 01:47:57 +00:00
Merge pull request #3950 from jayaddison/fixup/sql-debug-output-escaping
Fixup: add single-quote escaping within debug message
This commit is contained in:
@@ -1240,7 +1240,7 @@ BEGIN
|
||||
LIMIT 1
|
||||
LOOP
|
||||
IF location.osm_id = NEW.osm_id THEN
|
||||
{% if debug %}RAISE WARNING 'Updating names for country '%' with: %', NEW.country_code, NEW.name;{% endif %}
|
||||
{% if debug %}RAISE WARNING 'Updating names for country ''%'' with: %', NEW.country_code, NEW.name;{% endif %}
|
||||
UPDATE country_name SET derived_name = NEW.name WHERE country_code = NEW.country_code;
|
||||
END IF;
|
||||
END LOOP;
|
||||
|
||||
Reference in New Issue
Block a user