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

requested for filter expressions or sorting

On behalf of Faunalia, sponsored by ENEL
This commit is contained in:
Nyall Dawson 2016-07-06 16:24:25 +10:00
parent 64bfbaaf5b
commit 369e130d48

View File

@ -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;