Skip to content

Commit 46b5520

Browse files
committed
update SQL parameter quoting syntax per mapnik/mapnik#3618
1 parent acae92b commit 46b5520

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/python_tests/postgis_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ def test_handling_of_discarded_key_field():
12481248

12491249
def test_variable_in_subquery1():
12501250
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME, table='''
1251-
(select * from test where @zoom = 30 ) as tmp''',
1251+
(select * from test where !@zoom! = 30 ) as tmp''',
12521252
geometry_field='geom', srid=4326,
12531253
autodetect_key_field=True)
12541254
fs = ds.featureset(variables={'zoom': 30})

0 commit comments

Comments
 (0)