Skip to content
Permalink
Browse files

Fix build

  • Loading branch information
nyalldawson committed Dec 27, 2016
1 parent bc98a32 commit 51f491e81a79f81353a38e81a1f8878c6439774e
@@ -1135,7 +1135,7 @@ bool QgsPostgresProvider::hasSufficientPermsAndCapabilities()
if ( testAccess.PQgetvalue( 0, 0 ) == QLatin1String( "t" ) )
{
// DELETE
mEnabledCapabilities |= QgsVectorDataProvider::DeleteFeatures | QgsVectorDataProvider::Truncate;
mEnabledCapabilities |= QgsVectorDataProvider::DeleteFeatures | QgsVectorDataProvider::FastTruncate;
}

if ( testAccess.PQgetvalue( 0, 1 ) == QLatin1String( "t" ) )
@@ -532,7 +532,7 @@ QgsSpatiaLiteProvider::QgsSpatiaLiteProvider( QString const &uri )
if (( mTableBased || mViewBased ) && !mReadOnly )
{
// enabling editing only for Tables [excluding Views and VirtualShapes]
mEnabledCapabilities |= QgsVectorDataProvider::DeleteFeatures | QgsVectorDataProvider::Truncate;
mEnabledCapabilities |= QgsVectorDataProvider::DeleteFeatures | QgsVectorDataProvider::FastTruncate;
if ( !mGeometryColumn.isEmpty() )
mEnabledCapabilities |= QgsVectorDataProvider::ChangeGeometries;
mEnabledCapabilities |= QgsVectorDataProvider::ChangeAttributeValues;

0 comments on commit 51f491e

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