Skip to content
Permalink
Browse files

finalize tests

  • Loading branch information
troopa81 authored and nyalldawson committed Jan 6, 2020
1 parent 31cdc2f commit fb5e429e72de34d83d0d38f64979645655824dda
Showing with 95 additions and 64 deletions.
  1. +4 −0 src/providers/oracle/qgsoracleconn.cpp
  2. +91 −64 tests/src/python/test_provider_oracle.py
@@ -648,6 +648,8 @@ QString QgsOracleConn::databaseTypeFilter( const QString &alias, QString geomCol
case QgsWkbTypes::LineString:
case QgsWkbTypes::LineString25D:
case QgsWkbTypes::LineStringZ:
case QgsWkbTypes::CircularString:
case QgsWkbTypes::CircularStringZ:
case QgsWkbTypes::MultiLineString:
case QgsWkbTypes::MultiLineString25D:
case QgsWkbTypes::MultiLineStringZ:
@@ -662,6 +664,8 @@ QString QgsOracleConn::databaseTypeFilter( const QString &alias, QString geomCol
case QgsWkbTypes::MultiPolygon:
case QgsWkbTypes::MultiPolygonZ:
case QgsWkbTypes::MultiPolygon25D:
case QgsWkbTypes::MultiSurface:
case QgsWkbTypes::MultiSurfaceZ:
return QStringLiteral( "mod(%1.sdo_gtype,100) IN (3,7)" ).arg( geomCol );
case QgsWkbTypes::NoGeometry:
return QStringLiteral( "%1 IS NULL" ).arg( geomCol );

0 comments on commit fb5e429

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