@@ -378,7 +378,7 @@ QString QgsSpatiaLiteFeatureIterator::whereClauseRect()
378
378
}
379
379
else if ( rect.isFinite () )
380
380
{
381
- if ( mSource ->spatialIndexRTree )
381
+ if ( mSource ->mSpatialIndexRTree )
382
382
{
383
383
// using the RTree spatial index
384
384
QString mbrFilter = QString ( " xmin <= %1 AND " ).arg ( qgsDoubleToString ( rect.xMaximum () ) );
@@ -391,7 +391,7 @@ QString QgsSpatiaLiteFeatureIterator::whereClauseRect()
391
391
QgsSpatiaLiteProvider::quotedIdentifier ( idxName ),
392
392
mbrFilter );
393
393
}
394
- else if ( mSource ->spatialIndexMbrCache )
394
+ else if ( mSource ->mSpatialIndexMbrCache )
395
395
{
396
396
// using the MbrCache spatial index
397
397
QString idxName = QString ( " cache_%1_%2" ).arg ( mSource ->mIndexTable , mSource ->mIndexGeometry );
@@ -578,16 +578,16 @@ bool QgsSpatiaLiteFeatureIterator::prepareOrderBy( const QList<QgsFeatureRequest
578
578
QgsSpatiaLiteFeatureSource::QgsSpatiaLiteFeatureSource ( const QgsSpatiaLiteProvider* p )
579
579
: mGeometryColumn( p->mGeometryColumn )
580
580
, mSubsetString( p->mSubsetString )
581
- , mFields( p->attributeFields )
581
+ , mFields( p->mAttributeFields )
582
582
, mQuery( p->mQuery )
583
- , isQuery ( p->isQuery )
583
+ , mIsQuery ( p->mIsQuery )
584
584
, mViewBased( p->mViewBased )
585
585
, mVShapeBased( p->mVShapeBased )
586
586
, mIndexTable( p->mIndexTable )
587
587
, mIndexGeometry( p->mIndexGeometry )
588
588
, mPrimaryKey( p->mPrimaryKey )
589
- , spatialIndexRTree ( p->spatialIndexRTree )
590
- , spatialIndexMbrCache ( p->spatialIndexMbrCache )
589
+ , mSpatialIndexRTree ( p->mSpatialIndexRTree )
590
+ , mSpatialIndexMbrCache ( p->mSpatialIndexMbrCache )
591
591
, mSqlitePath( p->mSqlitePath )
592
592
{
593
593
}
0 commit comments