Skip to content
Permalink
Browse files

[spatialite] Support for LongLong (Fix #8636)

  • Loading branch information
m-kuhn committed Oct 12, 2013
1 parent 5ef7f10 commit 09b6878445325963e9ed9c22b73cb07a5a9fb138
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/providers/spatialite/qgsspatialiteprovider.cpp
@@ -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

0 comments on commit 09b6878

Please sign in to comment.
You can’t perform that action at this time.