[evolution-data-server/email-factory] Adds some verbose debug.



commit f5a2f6f220a6acfcbbcf7173f627969586e0cc71
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Thu May 12 22:30:55 2011 +0530

    Adds some verbose debug.

 mail/daemon/e-mail-data-folder.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/mail/daemon/e-mail-data-folder.c b/mail/daemon/e-mail-data-folder.c
index 7ae8e38..a907fba 100644
--- a/mail/daemon/e-mail-data-folder.c
+++ b/mail/daemon/e-mail-data-folder.c
@@ -1204,7 +1204,9 @@ search_sort_expr_operate (CamelFolder *folder, gpointer sdata, GError **error)
 	sort->ascending = data->ascending;
 
 	data->result_uids = camel_folder_search_by_expression (folder, data->query, error);
+	micro(printf("Search returned: %d\n", data->result_uids->len));
 	g_qsort_with_data (data->result_uids->pdata, data->result_uids->len, sizeof (gpointer), compare_uids, sort);
+	micro(printf("Sorting completed\n"));
 	g_free (sort);
 
 	return TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]