Skip to content
Permalink
Browse files

oracle provider: fix build

  • Loading branch information
jef-n committed Mar 3, 2017
1 parent 0bc3c29 commit 324463489f764c23f4a2057f9f4e6ddb856b5af9
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/providers/oracle/qgsoracleprovider.cpp
@@ -679,10 +679,10 @@ bool QgsOracleProvider::loadFields()
{
if ( !mHasSpatialIndex )
{
mHasSpatialIndex = exec( QString( "SELECT %2 FROM %1 WHERE sdo_filter(%2,mdsys.sdo_geometry(2003,%3,NULL,mdsys.sdo_elem_info_array(1,1003,3),mdsys.sdo_ordinate_array(-1,-1,1,1)))='TRUE'" )
.arg( mQuery )
.arg( quotedIdentifier( mGeometryColumn ) )
.arg( mSrid < 1 ? "NULL" : QString::number( mSrid ) ) );
mHasSpatialIndex = qry.exec( QString( "SELECT %2 FROM %1 WHERE sdo_filter(%2,mdsys.sdo_geometry(2003,%3,NULL,mdsys.sdo_elem_info_array(1,1003,3),mdsys.sdo_ordinate_array(-1,-1,1,1)))='TRUE'" )
.arg( mQuery )
.arg( quotedIdentifier( mGeometryColumn ) )
.arg( mSrid < 1 ? "NULL" : QString::number( mSrid ) ) );
}

if ( !mHasSpatialIndex )

0 comments on commit 3244634

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