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
6666 .arg ( qgsDoubleToString ( rect.yMaximum () ) );
6767
6868 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 () )
7171 {
7272 whereClause += QString ( " AND sdo_relate(%1,%2,'mask=ANYINTERACT')='TRUE'" )
73- .arg( quotedIdentifier( P ->mGeometryColumn ) )
73+ .arg ( QgsOracleProvider:: quotedIdentifier ( mSource ->mGeometryColumn ) )
7474 .arg ( bbox );
7575 }
76- #endif
7776 }
7877 break ;
7978
You can’t perform that action at this time.
0 commit comments