[tracker/hierarchical-indexing: 1/7] TrackerSparqlBuilder: allow embedder to specify the subject.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/hierarchical-indexing: 1/7] TrackerSparqlBuilder: allow embedder to specify the subject.
- Date: Thu, 18 Feb 2010 14:24:07 +0000 (UTC)
commit da9c89409a9757b69e6fee5ce2127eae118e52b9
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Feb 16 14:56:50 2010 +0100
TrackerSparqlBuilder: allow embedder to specify the subject.
Embedded inserts now only consist of predicate/subject, so the
embedder is able to specify the subject the data is applying to.
src/libtracker-client/tracker-sparql-builder.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-client/tracker-sparql-builder.vala b/src/libtracker-client/tracker-sparql-builder.vala
index 7008ccd..9aa94ca 100644
--- a/src/libtracker-client/tracker-sparql-builder.vala
+++ b/src/libtracker-client/tracker-sparql-builder.vala
@@ -53,6 +53,7 @@ public class Tracker.SparqlBuilder : Object {
public SparqlBuilder.embedded_insert () {
states += State.EMBEDDED_INSERT;
states += State.INSERT;
+ states += State.SUBJECT;
}
public void drop_graph (string iri)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]