Commit a3c30cb 1 parent 6734ab4 commit a3c30cb Copy full SHA for a3c30cb
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -618,7 +618,7 @@ void QgsSpatiaLiteProvider::loadFieldsAbstractInterface( gaiaVectorLayerPtr lyr
618
618
if ( fld->IntegerValuesCount != 0 && fld->DoubleValuesCount == 0 &&
619
619
fld->TextValuesCount == 0 && fld->BlobValuesCount == 0 )
620
620
{
621
- fieldType = QVariant::Int ;
621
+ fieldType = QVariant::LongLong ;
622
622
type = " INTEGER" ;
623
623
}
624
624
if ( fld->DoubleValuesCount != 0 && fld->TextValuesCount == 0 &&
@@ -825,7 +825,7 @@ void QgsSpatiaLiteProvider::loadFields()
825
825
strcasecmp ( type, " tinyint" ) == 0 ||
826
826
strcasecmp ( type, " boolean" ) == 0 )
827
827
{
828
- fieldType = QVariant::Int ;
828
+ fieldType = QVariant::LongLong ;
829
829
}
830
830
else if ( strcasecmp ( type, " real" ) == 0 ||
831
831
strcasecmp ( type, " double" ) == 0 ||
You can’t perform that action at this time.
0 commit comments