sqlite plugin: add rowid to the fields
This commit is contained in:
parent
c1a6a54060
commit
c66b3b250c
1 changed files with 3 additions and 0 deletions
|
@ -230,6 +230,9 @@ void sqlite_datasource::bind() const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO - ensure that the supplied key_field is a valid "integer primary key"
|
||||||
|
desc_.add_descriptor(attribute_descriptor("rowid",mapnik::Integer));
|
||||||
|
|
||||||
if (use_pragma_table_info)
|
if (use_pragma_table_info)
|
||||||
{
|
{
|
||||||
std::ostringstream s;
|
std::ostringstream s;
|
||||||
|
|
Loading…
Reference in a new issue