File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,13 @@ QgsOracleFeatureIterator::QgsOracleFeatureIterator( QgsOracleFeatureSource* sour
66
66
.arg ( qgsDoubleToString ( rect.yMaximum () ) );
67
67
68
68
whereClause = QString ( " sdo_filter(%1,%2)='TRUE'" ).arg ( QgsOracleProvider::quotedIdentifier ( mSource ->mGeometryColumn ) ).arg ( bbox );
69
- # if 0
70
- if ( mRequest.flags() & QgsFeatureRequest::ExactIntersect )
69
+
70
+ if ( mRequest .flags () & QgsFeatureRequest::ExactIntersect && mConnection -> hasSpatial () )
71
71
{
72
72
whereClause += QString ( " AND sdo_relate(%1,%2,'mask=ANYINTERACT')='TRUE'" )
73
- .arg( quotedIdentifier( P ->mGeometryColumn ) )
73
+ .arg ( QgsOracleProvider:: quotedIdentifier ( mSource ->mGeometryColumn ) )
74
74
.arg ( bbox );
75
75
}
76
- #endif
77
76
}
78
77
break ;
79
78
You can’t perform that action at this time.
0 commit comments