Skip to content
Permalink
Browse files

Don't use sdo_tune.extent_of if user doesn't ask explicitly for

estimated metadata
  • Loading branch information
troopa81 authored and nyalldawson committed Oct 22, 2019
1 parent 780d29d commit 94d0b06df54931032a9721ef5d0f51dfaa785c51
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/qgsoracleprovider.cpp
@@ -2272,7 +2272,7 @@ QgsRectangle QgsOracleProvider::extent() const
}
}

if ( mHasSpatialIndex && ( mUseEstimatedMetadata || mSqlWhereClause.isEmpty() ) )
if ( mHasSpatialIndex && mUseEstimatedMetadata )
{
ok = exec( qry,
QStringLiteral( "SELECT SDO_TUNE.EXTENT_OF(?,?) FROM dual" ),

0 comments on commit 94d0b06

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