[tracker] SPARQL: Do not use unneeded CAST expressions for integers
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] SPARQL: Do not use unneeded CAST expressions for integers
- Date: Wed, 11 Nov 2009 15:40:36 +0000 (UTC)
commit 7ef5ab82d69bbcbc548671575f365af8ad223b87
Author: Jürg Billeter <j bitron ch>
Date: Wed Nov 11 16:38:32 2009 +0100
SPARQL: Do not use unneeded CAST expressions for integers
src/libtracker-data/tracker-sparql-query.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index 8fa8779..4d51cd3 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -1045,6 +1045,7 @@ public class Tracker.SparqlQuery : Object {
void convert_expression_to_string (StringBuilder sql, PropertyType type, long begin) {
switch (type) {
case PropertyType.STRING:
+ case PropertyType.INTEGER:
// nothing to convert
break;
case PropertyType.RESOURCE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]