Skip to content

Commit

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

On behalf of Faunalia, sponsored by ENEL
  • Loading branch information
nyalldawson committed Jul 6, 2016
1 parent 64bfbaa commit 369e130
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 369e130

Please sign in to comment.