Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MemoryProvider native type is boolean and not bool
  • Loading branch information
domi4484 committed Jul 26, 2021
1 parent e05dd6f commit 1007ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/providers/memory/qgsmemoryprovider.cpp
Expand Up @@ -103,7 +103,7 @@ QgsMemoryProvider::QgsMemoryProvider( const QString &uri, const ProviderOptions
<< QgsVectorDataProvider::NativeType( tr( "Text, unlimited length (text)" ), QStringLiteral( "text" ), QVariant::String, -1, -1, -1, -1 )

// boolean
<< QgsVectorDataProvider::NativeType( tr( "Boolean" ), QStringLiteral( "bool" ), QVariant::Bool )
<< QgsVectorDataProvider::NativeType( tr( "Boolean" ), QStringLiteral( "boolean" ), QVariant::Bool )

// blob
<< QgsVectorDataProvider::NativeType( tr( "Binary object (BLOB)" ), QStringLiteral( "binary" ), QVariant::ByteArray )
Expand Down

0 comments on commit 1007ee0

Please sign in to comment.