Skip to content
Permalink
Browse files

Break on first error

  • Loading branch information
elpaso authored and nyalldawson committed Jun 19, 2020
1 parent 7fa6f38 commit e0514de0cd049f889732c01d80fe627812cb900f
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/providers/memory/qgsmemoryprovider.cpp
@@ -445,6 +445,10 @@ bool QgsMemoryProvider::addFeatures( QgsFeatureList &flist, Flags flags )
// Skip the feature if there is at least one conversion error
if ( conversionError )
{
if ( flags.testFlag( QgsFeatureSink::Flag::RollBackOnErrors ) )
{
break;
}
continue;
}

0 comments on commit e0514de

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