[tracker/rss-enclosures] plugins/evolution: Fixed a sparql insert error



commit e89ca3711fb68041841ca2ec49a4151d403dafa9
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Oct 28 14:17:49 2010 +0200

    plugins/evolution: Fixed a sparql insert error

 src/plugins/evolution/tracker-evolution-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index 4a800b2..31bf882 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -413,7 +413,7 @@ send_sparql_commit (TrackerEvolutionPlugin *self, gboolean update)
 			gchar *date_s = tracker_date_to_string (time (NULL));
 			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 "> nie:contentLastModified \"%s\" }",
+			                                 "INSERT INTO <"DATASOURCE_URN"> { <" DATASOURCE_URN "> a nie:InformationElement ; nie:contentLastModified \"%s\" }",
 			                                 date_s);
 
 			send_sparql_update (self, update, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]