Skip to content

Commit 249526b

Browse files
committed
[spatialite] Field length and precision cannot be specified
Partial fix for #8481
1 parent a3c30cb commit 249526b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/providers/spatialite/qgsspatialiteprovider.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,8 @@ QgsSpatiaLiteProvider::QgsSpatiaLiteProvider( QString const &uri )
570570
mNativeTypes
571571
<< QgsVectorDataProvider::NativeType( tr( "Binary object (BLOB)" ), "BLOB", QVariant::ByteArray )
572572
<< QgsVectorDataProvider::NativeType( tr( "Text" ), "TEXT", QVariant::String )
573-
<< QgsVectorDataProvider::NativeType( tr( "Decimal number (double)" ), "FLOAT", QVariant::Double, 0, 20, 0, 20 )
574-
<< QgsVectorDataProvider::NativeType( tr( "Whole number (integer)" ), "INTEGER", QVariant::LongLong, 0, 20 )
573+
<< QgsVectorDataProvider::NativeType( tr( "Decimal number (double)" ), "FLOAT", QVariant::Double )
574+
<< QgsVectorDataProvider::NativeType( tr( "Whole number (integer)" ), "INTEGER", QVariant::LongLong )
575575
;
576576
}
577577

0 commit comments

Comments
 (0)