[tracker/tracker-0.10] plugins, evolution: Correct use of GRAPH with the nie:DataSource
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] plugins, evolution: Correct use of GRAPH with the nie:DataSource
- Date: Wed, 23 Mar 2011 11:05:44 +0000 (UTC)
commit 424ef9ee60c0a675e895f8b10d31c9d0027b4aec
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Mar 21 11:45:52 2011 +0100
plugins, evolution: Correct use of GRAPH with the nie:DataSource
src/plugins/evolution/tracker-evolution-plugin.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index ea39355..b4a0046 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -413,9 +413,9 @@ send_sparql_commit (TrackerEvolutionPlugin *self, gboolean update)
* finished don't have to be repeated next time. Right now an interrupt
* means starting over from scratch. */
- gchar *update = g_strdup_printf ("DELETE FROM <"DATASOURCE_URN"> { <" DATASOURCE_URN "> nie:contentLastModified ?d } "
- "WHERE { <" DATASOURCE_URN "> a nie:InformationElement ; nie:contentLastModified ?d } \n"
- "INSERT INTO <"DATASOURCE_URN"> { <" DATASOURCE_URN "> a nie:InformationElement ; nie:contentLastModified \"%s\" }",
+ gchar *update = g_strdup_printf ("DELETE { <" DATASOURCE_URN "> nie:contentLastModified ?d } "
+ "WHERE { <" DATASOURCE_URN "> a nie:InformationElement ; nie:contentLastModified ?d } \n"
+ "INSERT { <" DATASOURCE_URN "> a nie:InformationElement ; nie:contentLastModified \"%s\" }",
date_s);
send_sparql_update (self, update, 0);
@@ -1714,7 +1714,7 @@ register_client_second_half (ClientRegistry *info)
if (info->last_checkout < too_old) {
- send_sparql_update (info->self, "DELETE FROM <"DATASOURCE_URN"> { ?s a rdfs:Resource } "
+ send_sparql_update (info->self, "DELETE { ?s a rdfs:Resource } "
"WHERE { ?s nie:dataSource <" DATASOURCE_URN "> }", 0);
send_sparql_commit (info->self, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]