Skip to content

Commit e2ee32c

Browse files
author
jef
committedAug 13, 2009
fix width and precision limits of string type in ogr provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11364 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/ogr/qgsogrprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ QgsOgrProvider::QgsOgrProvider( QString const & uri )
185185
mNativeTypes
186186
<< QgsVectorDataProvider::NativeType( tr( "Integer" ), "integer", QVariant::Int, 1, 10 )
187187
<< QgsVectorDataProvider::NativeType( tr( "Real" ), "double", QVariant::Double, 1, 20, 0, 5 )
188-
<< QgsVectorDataProvider::NativeType( tr( "String" ), "string", QVariant::String, 1, 20, 0, 5 )
188+
<< QgsVectorDataProvider::NativeType( tr( "String" ), "string", QVariant::String, 1, 255, 0, 0 )
189189
;
190190
}
191191

0 commit comments

Comments
 (0)
Please sign in to comment.