Skip to content

Commit ac574e2

Browse files
committed
Fix build
1 parent 80ad163 commit ac574e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/analysis/vector/geometry_checker/qgsgeometryfollowboundariescheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "qgscrscache.h"
1717
#include "qgsgeometryfollowboundariescheck.h"
1818
#include "qgsgeometryengine.h"
19-
19+
#include "qgsspatialindex.h"
2020

2121
QgsGeometryFollowBoundariesCheck::QgsGeometryFollowBoundariesCheck( QgsGeometryCheckerContext *context, QgsVectorLayer *checkLayer )
2222
: QgsGeometryCheck( FeatureNodeCheck, {QgsWkbTypes::PolygonGeometry}, context )

src/providers/ogr/qgsogrprovider.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3452,9 +3452,13 @@ void QgsOgrProviderUtils::GDALCloseWrapper( GDALDatasetH hDS )
34523452
if ( !bSuccess )
34533453
{
34543454
if ( openedAsUpdate )
3455+
{
34553456
QgsDebugMsg( "GPKG: Trying again" );
3457+
}
34563458
else
3459+
{
34573460
QgsDebugMsg( "GPKG: Trying to return to delete mode" );
3461+
}
34583462
CPLSetThreadLocalConfigOption( "OGR_SQLITE_JOURNAL", "DELETE" );
34593463
hDS = GDALOpenEx( datasetName.toUtf8().constData(), GDAL_OF_VECTOR | GDAL_OF_UPDATE, nullptr, nullptr, nullptr );
34603464
CPLSetThreadLocalConfigOption( "OGR_SQLITE_JOURNAL", nullptr );

0 commit comments

Comments
 (0)