Skip to content
Permalink
Browse files

Fix build

  • Loading branch information
nyalldawson committed Nov 15, 2017
1 parent 80ad163 commit ac574e231ac7e7c1cbcb827f59ae8a2ee5e2739a
@@ -16,7 +16,7 @@
#include "qgscrscache.h"
#include "qgsgeometryfollowboundariescheck.h"
#include "qgsgeometryengine.h"

#include "qgsspatialindex.h"

This comment has been minimized.

Copy link
@manisandro

manisandro Nov 15, 2017

Member

@nyalldawson Sorry about that (what can possibly go wrong by removing an include >.<)


QgsGeometryFollowBoundariesCheck::QgsGeometryFollowBoundariesCheck( QgsGeometryCheckerContext *context, QgsVectorLayer *checkLayer )
: QgsGeometryCheck( FeatureNodeCheck, {QgsWkbTypes::PolygonGeometry}, context )
@@ -3452,9 +3452,13 @@ void QgsOgrProviderUtils::GDALCloseWrapper( GDALDatasetH hDS )
if ( !bSuccess )
{
if ( openedAsUpdate )
{
QgsDebugMsg( "GPKG: Trying again" );
}
else
{
QgsDebugMsg( "GPKG: Trying to return to delete mode" );
}
CPLSetThreadLocalConfigOption( "OGR_SQLITE_JOURNAL", "DELETE" );
hDS = GDALOpenEx( datasetName.toUtf8().constData(), GDAL_OF_VECTOR | GDAL_OF_UPDATE, nullptr, nullptr, nullptr );
CPLSetThreadLocalConfigOption( "OGR_SQLITE_JOURNAL", nullptr );

1 comment on commit ac574e2

@m-kuhn

This comment has been minimized.

Copy link
Member

@m-kuhn m-kuhn commented on ac574e2 Nov 15, 2017

Thanks 👍

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