diff --git a/plugins/input/sqlite/sqlite_datasource.cpp b/plugins/input/sqlite/sqlite_datasource.cpp index ed3175ee8..ebb50ddf1 100644 --- a/plugins/input/sqlite/sqlite_datasource.cpp +++ b/plugins/input/sqlite/sqlite_datasource.cpp @@ -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;