[tracker/wip/carlosg/sparql1.1: 42/56] sm tracker-sparql graph support



commit e056cc76484ef7e0e33d6115a129005827703fd0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jun 3 01:35:42 2019 +0200

    sm tracker-sparql graph support

 src/libtracker-data/tracker-sparql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql.c b/src/libtracker-data/tracker-sparql.c
index 0ec8a2476..4f389b5d1 100644
--- a/src/libtracker-data/tracker-sparql.c
+++ b/src/libtracker-data/tracker-sparql.c
@@ -5219,14 +5219,14 @@ handle_property_function (TrackerSparql    *sparql,
                convert_expression_to_string (sparql, tracker_property_get_data_type (property));
                tracker_sparql_swap_builder (sparql, old);
 
-               _append_string_printf (sparql, ", ',') FROM \"%s\" WHERE ID = ",
+               _append_string_printf (sparql, ", ',') FROM \"unionGraph_%s\" WHERE ID = ",
                                       tracker_property_get_table_name (property));
 
                _call_rule (sparql, NAMED_RULE_ArgList, error);
                sparql->current_state.expression_type = TRACKER_PROPERTY_TYPE_STRING;
        } else {
                _append_string_printf (sparql,
-                                      "(SELECT \"%s\" FROM \"%s\" WHERE ID = ",
+                                      "(SELECT \"%s\" FROM \"unionGraph_%s\" WHERE ID = ",
                                       tracker_property_get_name (property),
                                       tracker_property_get_table_name (property));
 


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