sqlite plugin: add rowid to the fields

This commit is contained in:
Dane Springmeyer 2011-04-01 22:30:21 +00:00
parent c1a6a54060
commit c66b3b250c

View file

@ -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)
{
std::ostringstream s;