Skip to content

Commit 0fc21a8

Browse files
committed
Fix build
1 parent 01f61c5 commit 0fc21a8

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/providers/oracle/qgsoracledataitems.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ void QgsOracleConnectionItem::refresh()
6868

6969
void QgsOracleConnectionItem::setAllAsPopulated()
7070
{
71-
Q_FOREACH ( QgsDataItem *child, mChildren )
72-
{
73-
child->setState( Populated );
74-
}
75-
setState( Populated );
71+
Q_FOREACH ( QgsDataItem *child, mChildren )
72+
{
73+
child->setState( Populated );
74+
}
75+
setState( Populated );
7676
}
7777

7878
QVector<QgsDataItem*> QgsOracleConnectionItem::createChildren()

src/providers/oracle/qgsoraclefeatureiterator.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ QgsOracleFeatureIterator::QgsOracleFeatureIterator( QgsOracleFeatureSource* sour
164164

165165
//NOTE - must be last added!
166166
mExpressionCompiled = false;
167-
mCompileStatus = NoCompilation;
168167
QString fallbackStatement;
169168
bool useFallback = false;
170169
if ( request.filterType() == QgsFeatureRequest::FilterExpression )
@@ -181,7 +180,6 @@ QgsOracleFeatureIterator::QgsOracleFeatureIterator( QgsOracleFeatureSource* sour
181180

182181
//if only partial success when compiling expression, we need to double-check results using QGIS' expressions
183182
mExpressionCompiled = ( result == QgsSqlExpressionCompiler::Complete );
184-
mCompileStatus = ( mExpressionCompiled ? Compiled : PartiallyCompiled );
185183
limitAtProvider = mExpressionCompiled;
186184
}
187185
else
@@ -216,7 +214,6 @@ QgsOracleFeatureIterator::QgsOracleFeatureIterator( QgsOracleFeatureSource* sour
216214
if ( result )
217215
{
218216
mExpressionCompiled = false;
219-
mCompileStatus = NoCompilation;
220217
}
221218
}
222219
}

0 commit comments

Comments
 (0)