[tracker/wip/carlosg/update-perf: 29/65] libtracker-sparql/core: Do not store graph ID in update machinery
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/update-perf: 29/65] libtracker-sparql/core: Do not store graph ID in update machinery
- Date: Tue, 23 Aug 2022 09:32:51 +0000 (UTC)
commit ca3328d44ecf02fec782c05075247350f2de5599
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jul 30 12:18:34 2022 +0200
libtracker-sparql/core: Do not store graph ID in update machinery
This is no longer used, so we can avoid keeping it around.
src/libtracker-sparql/core/tracker-data-update.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/src/libtracker-sparql/core/tracker-data-update.c
b/src/libtracker-sparql/core/tracker-data-update.c
index e236a71dd..b0980ae66 100644
--- a/src/libtracker-sparql/core/tracker-data-update.c
+++ b/src/libtracker-sparql/core/tracker-data-update.c
@@ -60,7 +60,6 @@ struct _TrackerDataUpdateBuffer {
struct _TrackerDataUpdateBufferGraph {
gchar *graph;
- TrackerRowid id;
/* id -> TrackerDataUpdateBufferResource */
GHashTable *resources;
@@ -2131,11 +2130,6 @@ ensure_graph_buffer (TrackerDataUpdateBuffer *buffer,
g_hash_table_new_full (tracker_rowid_hash, tracker_rowid_equal,
(GDestroyNotify) tracker_rowid_free, NULL);
graph_buffer->graph = g_strdup (name);
- if (graph_buffer->graph) {
- graph_buffer->id = tracker_data_manager_find_graph (data->manager,
- graph_buffer->graph,
- TRUE);
- }
graph_buffer->resources =
g_hash_table_new_full (tracker_rowid_hash, tracker_rowid_equal, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]