Skip to content

Commit 21acb94

Browse files
authored
Merge pull request #1722 from tilezen/zerebubuth/fix-looks-like-service-rest-area-sql-functions
Fix SQL functions.
2 parents b3af261 + 5d17a3f commit 21acb94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/functions.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ CREATE OR REPLACE FUNCTION tz_looks_like_service_area(name TEXT)
10351035
RETURNS INTEGER AS $$
10361036
BEGIN
10371037
IF name ILIKE '%service area' OR name ILIKE '%services' OR name ILIKE '%travel plaza' THEN
1038-
RETURN 13
1038+
RETURN 13;
10391039
END IF;
10401040
RETURN 17;
10411041
END;
@@ -1046,7 +1046,7 @@ CREATE OR REPLACE FUNCTION tz_looks_like_rest_area(name TEXT)
10461046
RETURNS INTEGER AS $$
10471047
BEGIN
10481048
IF name ILIKE '%rest area' THEN
1049-
RETURN 13
1049+
RETURN 13;
10501050
END IF;
10511051
RETURN 17;
10521052
END;

0 commit comments

Comments
 (0)