Skip to content

Commit

Permalink
Add nested loop support for ogr provider
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 8, 2018
1 parent 18112c0 commit 550f381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrfeatureiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ QgsOgrFeatureIterator::QgsOgrFeatureIterator( QgsOgrFeatureSource *source, bool
, mFilterFidsIt( mFilterFids.constBegin() )
{
//QgsDebugMsg( "Feature iterator of " + mSource->mLayerName + ": acquiring connection");
mConn = QgsOgrConnPool::instance()->acquireConnection( QgsOgrProviderUtils::connectionPoolId( mSource->mDataSource ) );
mConn = QgsOgrConnPool::instance()->acquireConnection( QgsOgrProviderUtils::connectionPoolId( mSource->mDataSource ), request.connectionTimeout(), request.requestMayBeNested() );
if ( !mConn->ds )
{
return;
Expand Down

0 comments on commit 550f381

Please sign in to comment.