Skip to content

Commit

Permalink
Revert "[Backport release-3_12] [Oracle] Force multi geometry type at…
Browse files Browse the repository at this point in the history
… layer level"
  • Loading branch information
nyalldawson committed May 14, 2020
1 parent 84d7523 commit a920aa1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -78,10 +78,6 @@ QgsOracleProvider::QgsOracleProvider( QString const &uri, const ProviderOptions
mSqlWhereClause = mUri.sql();
mSrid = mUri.srid().toInt();
mRequestedGeomType = mUri.wkbType();
if ( QgsWkbTypes::isSingleType( mRequestedGeomType ) && QgsWkbTypes::geometryType( mRequestedGeomType ) != QgsWkbTypes::PointGeometry )
{
mRequestedGeomType = QgsWkbTypes::multiType( mRequestedGeomType );
}
mUseEstimatedMetadata = mUri.useEstimatedMetadata();
mIncludeGeoAttributes = mUri.hasParam( "includegeoattributes" ) ? mUri.param( "includegeoattributes" ) == "true" : false;

Expand Down

0 comments on commit a920aa1

Please sign in to comment.