[tracker/writeback: 8/23] Only report writeback for default graph
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/writeback: 8/23] Only report writeback for default graph
- Date: Sun, 22 Nov 2009 12:40:12 +0000 (UTC)
commit 28ee4c348a900f152fa248312fe6a678b8e04538
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Nov 11 20:22:23 2009 +0100
Only report writeback for default graph
src/tracker-store/tracker-writeback.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-store/tracker-writeback.c b/src/tracker-store/tracker-writeback.c
index 78619c8..5ad598b 100644
--- a/src/tracker-store/tracker-writeback.c
+++ b/src/tracker-store/tracker-writeback.c
@@ -60,6 +60,14 @@ tracker_writeback_check (const gchar *graph,
{
WritebackPrivate *private;
+ /* When graph is NULL, the graph is the default one. We only do
+ * writeback reporting in the default graph (update queries that
+ * aren't coming from the miner) */
+
+ if (graph != NULL) {
+ return;
+ }
+
private = g_static_private_get (&private_key);
g_return_if_fail (private != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]