Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[oracle] Always keep geometry when fetched, as it may have been
requested for filter expressions or sorting

On behalf of Faunalia, sponsored by ENEL

(cherry-picked from 369e130)
  • Loading branch information
nyalldawson committed Jul 6, 2016
1 parent 3c6c32d commit e6dd24a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/providers/oracle/qgsoraclefeatureiterator.cpp
Expand Up @@ -275,12 +275,6 @@ bool QgsOracleFeatureIterator::fetchFeature( QgsFeature& feature )
}
}
}

if (( mRequest.flags() & QgsFeatureRequest::NoGeometry ) != 0 )
{
// clear not requested geometry
feature.setGeometry( 0 );
}
}

QgsFeatureId fid = 0;
Expand Down

0 comments on commit e6dd24a

Please sign in to comment.