[tracker/domain-specific-indexes] removed debugging aid



commit 4934238c39ccc6ccff67da101077c01124b19c6a
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Jul 1 13:22:46 2010 +0200

    removed debugging aid

 src/libtracker-data/tracker-data-manager.c |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 78486a0..c37d5ba 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -1937,20 +1937,6 @@ is_a_domain_index (TrackerProperty **domain_indexes, TrackerProperty *property)
 }
 
 static void
-gdb_point (const gchar *str) {
-	static int i = 0;
-
-	g_print ("GDB! %d (%s)\n", i++, str ? str : "null");
-}
-
-static void
-gdb_point2 (const gchar *str) {
-	static int i = 0;
-
-	g_print ("GDB! %d (%s)\n", i++, str ? str : "null");
-}
-
-static void
 copy_from_domain_to_domain_index (TrackerDBInterface *iface,
                                   TrackerProperty    *domain_index,
                                   const gchar        *column_name,
@@ -2042,14 +2028,6 @@ create_decomposed_metadata_tables (TrackerDBInterface *iface,
 	properties = tracker_ontologies_get_properties (&n_props);
 	domain_indexes = tracker_class_get_domain_indexes (service);
 
-	if (g_strcmp0 (service_name, "nmm:MusicPiece") == 0) {
-		gdb_point ("nmm:MusicPiece");
-	}
-
-//	if (domain_indexes) {
-//		gdb_point();
-//	}
-
 	class_properties = NULL;
 
 	for (i = 0; i < n_props; i++) {
@@ -2058,10 +2036,6 @@ create_decomposed_metadata_tables (TrackerDBInterface *iface,
 		property = properties[i];
 		is_domain_index = is_a_domain_index (domain_indexes, property);
 
-		if (g_strcmp0 (tracker_property_get_name (property), "nie:title") == 0) {
-			gdb_point2 ("nie:title");
-		}
-
 		if (tracker_property_get_domain (property) == service || is_domain_index) {
 			gboolean put_change;
 			const gchar *sql_type_for_single_value = NULL;



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