[tracker] SPARQL: Fix variable predicates
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] SPARQL: Fix variable predicates
- Date: Tue, 11 Aug 2009 11:00:10 +0000 (UTC)
commit 1474b556b66c566a37f01a66d0137f194f284e86
Author: Jürg Billeter <j bitron ch>
Date: Tue Aug 11 12:59:30 2009 +0200
SPARQL: Fix variable predicates
src/libtracker-data/tracker-sparql-query.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index 3ed17d6..9933705 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -760,6 +760,7 @@ public class Tracker.SparqlQuery : Object {
} else {
pattern_sql.append ("?");
}
+ bindings.append (binding);
}
}
@@ -1000,7 +1001,6 @@ public class Tracker.SparqlQuery : Object {
binding.table = table;
binding.sql_db_column_name = "ID";
pattern_bindings.append (binding);
- bindings.append (binding);
}
}
@@ -1079,7 +1079,6 @@ public class Tracker.SparqlQuery : Object {
binding.sql_db_column_name = "object";
}
pattern_bindings.append (binding);
- bindings.append (binding);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]