[tracker/sparql-refactor] SPARQL: Fix predicate variables with literal object
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sparql-refactor] SPARQL: Fix predicate variables with literal object
- Date: Tue, 30 Mar 2010 15:47:36 +0000 (UTC)
commit a5dbd7a220155edc6b672697c7d84943ad7319b9
Author: Jürg Billeter <j bitron ch>
Date: Tue Mar 30 17:18:59 2010 +0200
SPARQL: Fix predicate variables with literal object
src/libtracker-data/tracker-sparql-pattern.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-pattern.vala b/src/libtracker-data/tracker-sparql-pattern.vala
index 269fb19..364573c 100644
--- a/src/libtracker-data/tracker-sparql-pattern.vala
+++ b/src/libtracker-data/tracker-sparql-pattern.vala
@@ -1233,7 +1233,7 @@ class Tracker.Sparql.Pattern : Object {
// single subject
table.predicate_variable.subject = current_subject;
}
- if (!current_subject_is_var) {
+ if (!object_is_var) {
// single object
table.predicate_variable.object = object;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]