File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -245,8 +245,6 @@ bool QgsVectorLayerEditBuffer::commitChanges( QStringList& commitErrors )
245
245
246
246
QgsFields oldFields = L->pendingFields ();
247
247
248
- bool hadPendingDeletes = !mDeletedFeatureIds .isEmpty ();
249
-
250
248
//
251
249
// delete attributes
252
250
//
@@ -504,13 +502,6 @@ bool QgsVectorLayerEditBuffer::commitChanges( QStringList& commitErrors )
504
502
}
505
503
}
506
504
507
- // for shapes run a REPACK after each transaction
508
- // TODO: enhance provider interface to allow moving this there
509
- if ( success && hadPendingDeletes && L->providerType () == " ogr" && L->storageType () == " ESRI Shapefile" )
510
- {
511
- provider->createSpatialIndex ();
512
- }
513
-
514
505
if ( !success && provider->hasErrors () )
515
506
{
516
507
commitErrors << tr ( " \n Provider errors:" );
You can’t perform that action at this time.
0 commit comments