fix #3120
This commit is contained in:
parent
dc80d9f582
commit
5e8a009278
1 changed files with 4 additions and 0 deletions
|
@ -128,6 +128,10 @@ feature_ptr postgis_featureset::next()
|
||||||
|
|
||||||
totalGeomSize_ += size;
|
totalGeomSize_ += size;
|
||||||
unsigned num_attrs = ctx_->size() + 1;
|
unsigned num_attrs = ctx_->size() + 1;
|
||||||
|
if (!key_field_as_attribute_)
|
||||||
|
{
|
||||||
|
num_attrs++;
|
||||||
|
}
|
||||||
for (; pos < num_attrs; ++pos)
|
for (; pos < num_attrs; ++pos)
|
||||||
{
|
{
|
||||||
std::string name = rs_->getFieldName(pos);
|
std::string name = rs_->getFieldName(pos);
|
||||||
|
|
Loading…
Reference in a new issue