Skip to content
Permalink
Browse files

Add LongLong support to virtual provider

  • Loading branch information
m-kuhn committed Dec 22, 2015
1 parent e00815d commit 9c9ff79b48465279e41dab9706d49b9049ce23c8
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/providers/virtual/qgsvirtuallayersqlitemodule.cpp
@@ -188,6 +188,7 @@ struct VTable
case QVariant::Int:
case QVariant::UInt:
case QVariant::Bool:
case QVariant::LongLong:
typeName = "int";
break;
case QVariant::Double:
@@ -588,6 +589,9 @@ int vtable_column( sqlite3_vtab_cursor *cursor, sqlite3_context* ctxt, int idx )
case QVariant::UInt:
sqlite3_result_int( ctxt, v.toInt() );
break;
case QVariant::LongLong:
sqlite3_result_int64( ctxt, v.toLongLong() );
break;
case QVariant::Double:
sqlite3_result_double( ctxt, v.toDouble() );
break;

0 comments on commit 9c9ff79

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