Skip to content

Commit

Permalink
[spatialite] Support for LongLong (Fix #8636)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 12, 2013
1 parent 5ef7f10 commit 09b6878
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/providers/spatialite/qgsspatialiteprovider.cpp
Expand Up @@ -3650,6 +3650,11 @@ bool QgsSpatiaLiteProvider::addFeatures( QgsFeatureList & flist )
// binding an INTEGER value
sqlite3_bind_int( stmt, ++ia, v.toInt() );
}
else if ( type == QVariant::LongLong )
{
// binding a LONGLONG value
sqlite3_bind_int64( stmt, ++ia, v.toLongLong() );
}
else if ( type == QVariant::Double )
{
// binding a DOUBLE value
Expand Down

0 comments on commit 09b6878

Please sign in to comment.