mapnik-org/mapnik — Issue #820: sqlite: handle quoting of fields returned from subqueries
Author: artemp
Created: 2011-10-11 08:13:24+00:00
State: open
Labels: Core_Library

It appears that fields are returned quoted when subqueries are used in sqlite.

So something like:
{{{
#!xml
[field] = 'a'
...
world
}}}

Would return a field of `'field'`.

But:
{{{
#!xml
[field] = 'a'
...
(select * from world)
}}}

Would return `'"field"'` and thus the filter fails.