[tracker/rss-enclosures] libtracker-data: Fixes NB#174248, type conversions for boolean using ^^ notation



commit bc4c3b08533952de3f6764bc79e34bce8f1253d2
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Jun 14 16:00:23 2010 +0200

    libtracker-data: Fixes NB#174248, type conversions for boolean using ^^ notation

 src/libtracker-data/tracker-sparql-expression.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-expression.vala b/src/libtracker-data/tracker-sparql-expression.vala
index 0d3611c..ea5052f 100644
--- a/src/libtracker-data/tracker-sparql-expression.vala
+++ b/src/libtracker-data/tracker-sparql-expression.vala
@@ -844,6 +844,7 @@ class Tracker.Sparql.Expression : Object {
 
 			switch (type) {
 			case PropertyType.INTEGER:
+			case PropertyType.BOOLEAN:
 				sql.append ("?");
 				binding.data_type = type;
 				return type;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]