Skip to content
Permalink
Browse files

[oracle] Always keep geometry when fetched, as it may have been

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 369e130d48ee116916ab0ef8be7fa04406f11a34
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/providers/oracle/qgsoraclefeatureiterator.cpp
@@ -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;

0 comments on commit 369e130

Please sign in to comment.
You can’t perform that action at this time.