mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[spatialite] Use QVariant::LongLong as int type consistently
This commit is contained in:
parent
22eec4afe8
commit
2f2e0880cc
@ -758,7 +758,7 @@ void QgsSpatiaLiteProvider::loadFields()
|
|||||||
strcasecmp( type, "tinyint" ) == 0 ||
|
strcasecmp( type, "tinyint" ) == 0 ||
|
||||||
strcasecmp( type, "boolean" ) == 0 )
|
strcasecmp( type, "boolean" ) == 0 )
|
||||||
{
|
{
|
||||||
fieldType = QVariant::Int;
|
fieldType = QVariant::LongLong;
|
||||||
}
|
}
|
||||||
else if ( strcasecmp( type, "real" ) == 0 ||
|
else if ( strcasecmp( type, "real" ) == 0 ||
|
||||||
strcasecmp( type, "double" ) == 0 ||
|
strcasecmp( type, "double" ) == 0 ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user