[tracker/wip/carlosg/update-perf: 7/43] 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: 7/43] libtracker-sparql/core: Do not store graph ID in update machinery
- Date: Wed, 24 Aug 2022 00:49:48 +0000 (UTC)
commit 84ca5a3e1ad8110a263b627d3f32a600029c255e
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 be6423d85..f1b5c7cf8 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;
@@ -2133,11 +2132,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]