[tracker/tracker-store-queue] Added a TODO comment in TrackerStoreQueue
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-store-queue] Added a TODO comment in TrackerStoreQueue
- Date: Thu, 21 May 2009 08:03:00 -0400 (EDT)
commit eec2f934741a84609a3786deb1ff3745a8d2792a
Author: Philip Van Hoof <philip codeminded be>
Date: Thu May 21 13:52:24 2009 +0200
Added a TODO comment in TrackerStoreQueue
---
src/tracker-store/tracker-store-queue.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/tracker-store/tracker-store-queue.c b/src/tracker-store/tracker-store-queue.c
index 89d9513..c46023d 100644
--- a/src/tracker-store/tracker-store-queue.c
+++ b/src/tracker-store/tracker-store-queue.c
@@ -191,6 +191,22 @@ queue_sorter (gconstpointer a,
gconstpointer b,
gpointer user_data)
{
+ /**
+ * This should probably be implemented like this:
+ *
+ * o. A batch_commit gets precedence over all, it must always come in
+ * front of anything else
+ * o. A query goes in front of anything else except a batch_commit
+ * o. A update goes underneat a query
+ * o. A batch_update goes underneat an update
+ *
+ * Right now we just return TRUE. Meaning that the newest one always
+ * precedes all others (I think). It basically means that it's not
+ * implemented and that this is ...
+ * */
+
+ /* TODO */
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]