[tracker/wip/carlosg/sparql1.1: 113/145] libtracker-data: Use SparqlBNODE() directly in query_unused_uuid()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/sparql1.1: 113/145] libtracker-data: Use SparqlBNODE() directly in query_unused_uuid()
- Date: Thu, 18 Jul 2019 22:33:32 +0000 (UTC)
commit ac23fb44d8f5cadb74e5b1e8bd5655ac93e7a11a
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jul 7 19:36:44 2019 +0200
libtracker-data: Use SparqlBNODE() directly in query_unused_uuid()
This is only used for blank nodes, so let's make this explicit.
src/libtracker-data/tracker-data-query.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-data/tracker-data-query.c b/src/libtracker-data/tracker-data-query.c
index ef4218679..ddde295e8 100644
--- a/src/libtracker-data/tracker-data-query.c
+++ b/src/libtracker-data/tracker-data-query.c
@@ -142,7 +142,7 @@ tracker_data_query_unused_uuid (TrackerDataManager *manager,
gchar *uuid = NULL;
stmt = tracker_db_interface_create_statement (iface, TRACKER_DB_STATEMENT_CACHE_TYPE_SELECT, &error,
- "SELECT SparqlUUID()");
+ "SELECT SparqlBNODE()");
if (stmt) {
cursor = tracker_db_statement_start_cursor (stmt, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]