[tracker/wip/carlosg/sparql-parser-ng: 292/306] libtracker-sparql: Use INSERT DATA on insertions



commit f0e3ed2c804b5e1a744bc2dd294cbe6a86701f2b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Aug 6 19:24:58 2018 +0200

    libtracker-sparql: Use INSERT DATA on insertions

 src/libtracker-sparql/tracker-resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-sparql/tracker-resource.c b/src/libtracker-sparql/tracker-resource.c
index e7d46df36..6000e3862 100644
--- a/src/libtracker-sparql/tracker-resource.c
+++ b/src/libtracker-sparql/tracker-resource.c
@@ -1518,7 +1518,7 @@ tracker_resource_print_sparql_update (TrackerResource         *resource,
        context.done_list = NULL;
 
        /* Finally insert the data */
-       g_string_append (context.string, "INSERT {\n");
+       g_string_append (context.string, "INSERT DATA {\n");
        if (graph_id) {
                g_string_append_printf (context.string, "GRAPH <%s> {\n", graph_id);
        }


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